Ignore:
Timestamp:
2014-07-13T17:25:15Z (10 years ago)
Author:
Agnieszka Tabaka <nufcia@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
7493e7b
Parents:
b8e75319 (diff), 78192cc7 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge mainline changes.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/include/arch/mm/page.h

    rb8e75319 raf2a76c  
    4444#ifndef __ASM__
    4545
    46 #define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffff800000000000))
    47 #define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffff800000000000))
     46#define KA2PA(x)  (((uintptr_t) (x)) - UINT64_C(0xffffffff80000000))
     47#define PA2KA(x)  (((uintptr_t) (x)) + UINT64_C(0xffffffff80000000))
    4848
    4949#else /* __ASM__ */
    5050
    51 #define KA2PA(x)  ((x) - 0xffff800000000000)
    52 #define PA2KA(x)  ((x) + 0xffff800000000000)
     51#define KA2PA(x)  ((x) - 0xffffffff80000000)
     52#define PA2KA(x)  ((x) + 0xffffffff80000000)
    5353
    5454#endif /* __ASM__ */
Note: See TracChangeset for help on using the changeset viewer.