Changeset 8fc0d455 in mainline for arch/amd64/include/mm/page.h
- Timestamp:
- 2005-08-30T17:50:07Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c0a9b3
- Parents:
- b45aa23
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/mm/page.h
rb45aa23 r8fc0d455 30 30 #define __amd64_PAGE_H__ 31 31 32 #include <mm/page.h> 33 #include <arch/mm/frame.h> 34 #include <arch/types.h> 35 #include <arch/mm/ptl.h> 32 #ifndef __ASM__ 33 # include <mm/page.h> 34 # include <arch/mm/frame.h> 35 # include <arch/types.h> 36 #endif 36 37 37 38 #define PAGE_SIZE FRAME_SIZE 39 40 #ifndef __ASM__ 41 # define KA2PA(x) (((__address) (x)) + 0x80000000) 42 # define PA2KA(x) (((__address) (x)) - 0x80000000) 43 #else 44 # define KA2PA(x) ((x) + 0x80000000) 45 # define PA2KA(x) ((x)) - 0x80000000) 46 #endif 38 47 39 48 #define PTL0_INDEX_ARCH(vaddr) 0 … … 65 74 #define SET_FRAME_FLAGS_ARCH(ptl3, i, x) 66 75 76 #ifndef __ASM__ 67 77 extern void page_arch_init(void); 68 78 69 typedef __u32 pte_t; 79 typedef __u64 pte_t; 80 #endif 70 81 71 82 #endif
Note:
See TracChangeset
for help on using the changeset viewer.