1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-27 11:55:06 +00:00

- is_physical_memory()'s parameter, which is a physical address, should be

a vm_paddr_t not a vm_offset_t.
This commit is contained in:
Alan Cox 2004-04-11 04:26:58 +00:00
parent 0fbd2da9c2
commit 2c38d78e41
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128100
4 changed files with 4 additions and 6 deletions

View File

@ -522,8 +522,7 @@ swi_vm(void *dummy)
*/
int
is_physical_memory(addr)
vm_offset_t addr;
is_physical_memory(vm_paddr_t addr)
{
#ifdef DEV_ISA

View File

@ -66,7 +66,7 @@ void doreti_iret_fault(void) __asm(__STRING(doreti_iret_fault));
void enable_sse(void);
void fillw(int /*u_short*/ pat, void *base, size_t cnt);
void fpstate_drop(struct thread *td);
int is_physical_memory(vm_offset_t addr);
int is_physical_memory(vm_paddr_t addr);
int isa_nmi(int cd);
void pagecopy(void *from, void *to);
void pagezero(void *addr);

View File

@ -691,8 +691,7 @@ swi_vm(void *dummy)
*/
int
is_physical_memory(addr)
vm_offset_t addr;
is_physical_memory(vm_paddr_t addr)
{
#ifdef DEV_ISA

View File

@ -95,7 +95,7 @@ int i586_copyout(const void *kaddr, void *udaddr, size_t len);
void i686_pagezero(void *addr);
void sse2_pagezero(void *addr);
void init_AMD_Elan_sc520(void);
int is_physical_memory(vm_offset_t addr);
int is_physical_memory(vm_paddr_t addr);
int isa_nmi(int cd);
vm_paddr_t kvtop(void *addr);
void setidt(int idx, alias_for_inthand_t *func, int typ, int dpl, int selec);