Changeset 8f2153b in mainline for arch/ia32/include/mm/page.h
- Timestamp:
- 2005-09-05T12:41:45Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1b492b5
- Parents:
- 2c55af3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/mm/page.h
r2c55af3 r8f2153b 30 30 #define __ia32_PAGE_H__ 31 31 32 #include <mm/page.h>33 #include <arch/types.h>34 #include <arch/mm/frame.h>35 #include <typedefs.h>36 37 32 #define PAGE_SIZE FRAME_SIZE 38 33 39 #define KA2PA(x) (((__address) (x)) - 0x80000000) 40 #define PA2KA(x) (((__address) (x)) + 0x80000000) 34 #ifndef __ASM__ 35 # define KA2PA(x) (((__address) (x)) - 0x80000000) 36 # define PA2KA(x) (((__address) (x)) + 0x80000000) 37 #else 38 # define KA2PA(x) ((x) - 0x80000000) 39 # define PA2KA(x) ((x) + 0x80000000) 40 #endif 41 41 42 42 /* … … 70 70 #define SET_PTL3_FLAGS_ARCH(ptl2, i, x) 71 71 #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) set_pt_flags((pte_t *)(ptl3), (index_t)(i), (x)) 72 73 #ifndef __ASM__ 74 75 #include <mm/page.h> 76 #include <arch/types.h> 77 #include <arch/mm/frame.h> 78 #include <typedefs.h> 72 79 73 80 struct page_specifier { … … 112 119 extern void page_arch_init(void); 113 120 121 #endif /* __ASM__ */ 122 114 123 #endif
Note:
See TracChangeset
for help on using the changeset viewer.