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:
parent
0fbd2da9c2
commit
2c38d78e41
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=128100
@ -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
|
||||
|
@ -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);
|
||||
|
@ -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
|
||||
|
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user