Make atdevbase long for the KERNBASE > 4GB case

Approved by: re (amd64/* blanket)
This commit is contained in:
Peter Wemm 2003-05-11 22:53:43 +00:00
parent 573044a926
commit eeee69d45c
2 changed files with 2 additions and 2 deletions

View File

@ -130,7 +130,7 @@ static int set_fpcontext(struct thread *td, const mcontext_t *mcp);
SYSINIT(cpu, SI_SUB_CPU, SI_ORDER_FIRST, cpu_startup, NULL)
int _udatasel, _ucodesel;
u_int atdevbase;
u_long atdevbase;
u_int64_t modulep; /* phys addr of metadata table */
u_int64_t physfree; /* first free page after kernel */

View File

@ -37,7 +37,7 @@
*/
extern long Maxmem;
extern u_int atdevbase; /* offset in virtual memory of ISA io mem */
extern u_long atdevbase; /* offset in virtual memory of ISA io mem */
extern int busdma_swi_pending;
extern u_int cpu_exthigh;
extern u_int cpu_feature;