Changeset 315 for trunk/hal/x86_64/core
- Timestamp:
- Aug 3, 2017, 10:15:18 AM (7 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/hal/x86_64/core/hal_types.h
r272 r315 218 218 #define CXY_FROM_PADDR(paddr) ((cxy_t)((paddr) >> LPA_SHIFT)) 219 219 #define LPA_FROM_PADDR(paddr) (lpa_t)((paddr & LPA_MASK) 220 #define PADDR(cxy,l ad) (((uint64_t)(cxy) << LPA_SHIFT) | (((uint64_t)(ptr)) & LPA_MASK))220 #define PADDR(cxy,lpa) (((uint64_t)(cxy) << LPA_SHIFT) | (((uint64_t)(lpa)) & LPA_MASK)) 221 221 222 222 #endif /* HAL_TYPES_H_ */
Note: See TracChangeset
for help on using the changeset viewer.