diff options
author | Jake Burkholder <jake@FreeBSD.org> | 2003-03-25 00:07:06 +0000 |
---|---|---|
committer | Jake Burkholder <jake@FreeBSD.org> | 2003-03-25 00:07:06 +0000 |
commit | 227f9a1c5853566d8177f487b69a896b1121f84d (patch) | |
tree | 553401a4d58eb98b1e208a82c3ba2c32b848a225 /sys/sparc64/include/_types.h | |
parent | d829c3dfeea2cdb6da513864c71dc7547415a6fd (diff) | |
download | src-227f9a1c5853566d8177f487b69a896b1121f84d.tar.gz src-227f9a1c5853566d8177f487b69a896b1121f84d.zip |
- Add vm_paddr_t, a physical address type. This is required for systems
where physical addresses larger than virtual addresses, such as i386s
with PAE.
- Use this to represent physical addresses in the MI vm system and in the
i386 pmap code. This also changes the paddr parameter to d_mmap_t.
- Fix printf formats to handle physical addresses >4G in the i386 memory
detection code, and due to kvtop returning vm_paddr_t instead of u_long.
Note that this is a name change only; vm_paddr_t is still the same as
vm_offset_t on all currently supported platforms.
Sponsored by: DARPA, Network Associates Laboratories
Discussed with: re, phk (cdevsw change)
Notes
Notes:
svn path=/head/; revision=112569
Diffstat (limited to 'sys/sparc64/include/_types.h')
-rw-r--r-- | sys/sparc64/include/_types.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sparc64/include/_types.h b/sys/sparc64/include/_types.h index 31185964ef74..933a7a3dfd20 100644 --- a/sys/sparc64/include/_types.h +++ b/sys/sparc64/include/_types.h @@ -89,6 +89,7 @@ typedef __uint64_t __uint_least64_t; typedef __uint64_t __u_register_t; typedef __uint64_t __vm_offset_t; typedef __int64_t __vm_ooffset_t; +typedef __uint64_t __vm_paddr_t; typedef __uint64_t __vm_pindex_t; typedef __uint64_t __vm_size_t; |