Changeset 8fc0d455 in mainline for arch/amd64/include/mm
- Timestamp:
- 2005-08-30T17:50:07Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9c0a9b3
- Parents:
- b45aa23
- Location:
- arch/amd64/include/mm
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/amd64/include/mm/frame.h
rb45aa23 r8fc0d455 32 32 #define FRAME_SIZE 4096 33 33 34 #ifndef __ASM__ 34 35 extern void frame_arch_init(void); 36 #endif 35 37 36 38 #endif -
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 -
arch/amd64/include/mm/ptl.h
rb45aa23 r8fc0d455 40 40 #define PTL_2MB_PAGE (1<<7) 41 41 42 #define KA2PA(x) (((__address) (x)) + 0x80000000)43 #define PA2KA(x) (((__address) (x)) - 0x80000000)44 45 42 46 43 #endif
Note:
See TracChangeset
for help on using the changeset viewer.