Changeset 8 for trunk/hal/i386
- Timestamp:
- Apr 26, 2017, 2:20:47 PM (8 years ago)
- Location:
- trunk/hal/i386
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/i386/__do_interrupt.c
r1 r8 23 23 #include <types.h> 24 24 #include <kdmsg.h> 25 #include < device.h>25 #include <chdev.h> 26 26 #include <interrupt.h> 27 27 #include <thread.h> -
trunk/hal/i386/boot.c
r1 r8 23 23 #include <kdmsg.h> 24 24 #include <hardware.h> 25 #include < device.h>25 #include <chdev.h> 26 26 #include <cpu.h> 27 27 #include <cpu-internal.h> -
trunk/hal/i386/hal_types.h
r1 r8 185 185 #define XPTR_NULL 0 186 186 187 #define PTR_MASK ((1ULL)<<47)187 #define PTR_MASK 0x0000FFFFFFFFFFFFULL 188 188 189 189 #define GET_CXY(xp) ((cxy_t)((xp) >> 48)) … … 193 193 #define XPTR(cxy,ptr) (((uint64_t)(cxy) << 48) | (((uint64_t)(ptr)) & PTR_MASK)) 194 194 195 #define LPA_MASK ((1ULL)<<47)195 #define LPA_MASK 0X0000FFFFFFFFFFFFULL 196 196 197 197 #define CXY_FROM_PADDR(paddr) ((cxy_t)((paddr) >> 48))
Note: See TracChangeset
for help on using the changeset viewer.