Ignore:
Timestamp:
Aug 3, 2017, 12:01:19 PM (4 years ago)
Author:
max@…
Message:

Synchronize with Alain's changes. Still several issues.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/hal/x86_64/core/hal_types.h

    r315 r316  
    217217#define LPA_SHIFT              33
    218218#define CXY_FROM_PADDR(paddr)  ((cxy_t)((paddr) >> LPA_SHIFT))
    219 #define LPA_FROM_PADDR(paddr)  (lpa_t)((paddr & LPA_MASK)
     219#define LPA_FROM_PADDR(paddr)  (lpa_t)(paddr & LPA_MASK)
    220220#define PADDR(cxy,lpa)         (((uint64_t)(cxy) << LPA_SHIFT) | (((uint64_t)(lpa)) & LPA_MASK))
    221221
Note: See TracChangeset for help on using the changeset viewer.