Ignore:
Timestamp:
2013-12-28T21:15:59Z (10 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
ceb5757
Parents:
41b735f3
Message:

fix small omissions and API incompatibilities

File:
1 edited

Legend:

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

    r41b735f3 rd18ad61  
    4545#define PAGE_SIZE   FRAME_SIZE
    4646
     47#define FRAME_LOWPRIO  0
     48
    4749#define KA2PA(x)  (((uintptr_t) (x)) - UINT32_C(0x40000000))
    4850#define PA2KA(x)  (((uintptr_t) (x)) + UINT32_C(0x40000000))
     
    6870
    6971/* Page table sizes for each level. */
    70 #define PTL0_SIZE_ARCH  ONE_FRAME
    71 #define PTL1_SIZE_ARCH  0
    72 #define PTL2_SIZE_ARCH  ONE_FRAME
    73 #define PTL3_SIZE_ARCH  ONE_FRAME
     72#define PTL0_FRAMES_ARCH  1
     73#define PTL1_FRAMES_ARCH  0
     74#define PTL2_FRAMES_ARCH  1
     75#define PTL3_FRAMES_ARCH  1
    7476
    7577/* Macros calculating indices for each level. */
Note: See TracChangeset for help on using the changeset viewer.