Source to include/mach/hat.h
0001 #ifndef _MACHHAT_H
0002 #define _MACHHAT_H
0003 /*
0004 * hatvas.h
0005 * Hardware-specific information pertaining to a vas
0006 */
0007 #include <mach/vm.h>
0008 #include <rmap.h>
0009
0010 struct hatvas {
0011 pte_t *h_vcr3; /* CR3, in its raw form and as a vaddr */
0012 ulong h_cr3;
0013 struct rmap *h_map; /* Map of vaddr's free */
0014 ulong h_l1segs; /* Bit map of which L1 slots used */
0015 };
0016
0017 struct hatpview {
0018 /* Empty on x86 */
0019 };
0020
0021 struct hatpset {
0022 /* Empty on x86 */
0023 };
0024
0025 #define H_L1SEGS (32) /* # parts L1 PTE's broken into */
0026
0027 #endif /* _MACHHAT_H */