diff options
author | jake <jake@FreeBSD.org> | 2003-03-30 05:24:52 +0000 |
---|---|---|
committer | jake <jake@FreeBSD.org> | 2003-03-30 05:24:52 +0000 |
commit | abd082c83338e1987726a6ef68574de92e2b5ce7 (patch) | |
tree | 41325c88af7f4552023a9b5c8da9296a899c3f45 /sys/i386/include/_types.h | |
parent | 751b8b88db5312dc1394b1ddadf537cbe79765d8 (diff) | |
download | FreeBSD-src-abd082c83338e1987726a6ef68574de92e2b5ce7.zip FreeBSD-src-abd082c83338e1987726a6ef68574de92e2b5ce7.tar.gz |
- Add support for PAE and more than 4 gigs of ram on x86, dependent on the
kernel opition 'options PAE'. This will only work with device drivers which
either use busdma, or are able to handle 64 bit physical addresses.
Thanks to Lanny Baron from FreeBSD Systems for the loan of a test machine
with 6 gigs of ram.
Sponsored by: DARPA, Network Associates Laboratories, FreeBSD Systems
Diffstat (limited to 'sys/i386/include/_types.h')
-rw-r--r-- | sys/i386/include/_types.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/sys/i386/include/_types.h b/sys/i386/include/_types.h index ad57438..93c2a36 100644 --- a/sys/i386/include/_types.h +++ b/sys/i386/include/_types.h @@ -102,7 +102,11 @@ typedef __uint64_t __uint_least64_t; typedef __uint32_t __u_register_t; typedef __uint32_t __vm_offset_t; typedef __int64_t __vm_ooffset_t; +#ifdef PAE +typedef __uint64_t __vm_paddr_t; +#else typedef __uint32_t __vm_paddr_t; +#endif typedef __uint64_t __vm_pindex_t; typedef __uint32_t __vm_size_t; |