Changeset 53ad43c in mainline for kernel/arch/ia32
- Timestamp:
- 2018-03-08T18:54:30Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 5ef16903
- Parents:
- e0a4686
- Location:
- kernel/arch/ia32/include/arch
- Files:
-
- 9 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/arch/boot/boot.h
re0a4686 r53ad43c 40 40 #define BOOT_STACK_SIZE 0x0400 41 41 42 #ifndef __AS M__42 #ifndef __ASSEMBLER__ 43 43 44 44 #ifdef CONFIG_SMP … … 49 49 #endif /* CONFIG_SMP */ 50 50 51 #endif /* __AS M__ */51 #endif /* __ASSEMBLER__ */ 52 52 53 53 #endif -
kernel/arch/ia32/include/arch/boot/memmap.h
re0a4686 r53ad43c 61 61 #define MEMMAP_E820_MAX_RECORDS 32 62 62 63 #ifndef __AS M__63 #ifndef __ASSEMBLER__ 64 64 65 65 #include <stdint.h> -
kernel/arch/ia32/include/arch/cpu.h
re0a4686 r53ad43c 64 64 #define IA32_MSR_SYSENTER_EIP 0x176 65 65 66 #ifndef __AS M__66 #ifndef __ASSEMBLER__ 67 67 68 68 #include <arch/pm.h> -
kernel/arch/ia32/include/arch/cpuid.h
re0a4686 r53ad43c 41 41 #define INTEL_SEP 11 42 42 43 #ifndef __AS M__43 #ifndef __ASSEMBLER__ 44 44 45 45 #include <arch/cpu.h> … … 116 116 } 117 117 118 #endif /* !def __AS M__ */118 #endif /* !def __ASSEMBLER__ */ 119 119 #endif 120 120 -
kernel/arch/ia32/include/arch/mm/frame.h
re0a4686 r53ad43c 41 41 #define FRAME_LOWPRIO 0x1000 42 42 43 #ifndef __AS M__43 #ifndef __ASSEMBLER__ 44 44 45 45 extern void frame_low_arch_init(void); … … 47 47 extern void physmem_print(void); 48 48 49 #endif /* __AS M__ */49 #endif /* __ASSEMBLER__ */ 50 50 51 51 #endif -
kernel/arch/ia32/include/arch/mm/page.h
re0a4686 r53ad43c 50 50 #define PDE_4M (1 << 7) 51 51 52 #ifndef __AS M__52 #ifndef __ASSEMBLER__ 53 53 54 54 #define KA2PA(x) (((uintptr_t) (x)) - UINT32_C(0x80000000)) 55 55 #define PA2KA(x) (((uintptr_t) (x)) + UINT32_C(0x80000000)) 56 56 57 #else /* __AS M__ */57 #else /* __ASSEMBLER__ */ 58 58 59 59 #define KA2PA(x) ((x) - 0x80000000) 60 60 #define PA2KA(x) ((x) + 0x80000000) 61 61 62 #endif /* __AS M__ */62 #endif /* __ASSEMBLER__ */ 63 63 64 64 /* … … 142 142 #define PTE_EXECUTABLE_ARCH(p) 1 143 143 144 #ifndef __AS M__144 #ifndef __ASSEMBLER__ 145 145 146 146 #include <mm/mm.h> … … 220 220 extern void page_fault(unsigned int, istate_t *); 221 221 222 #endif /* __AS M__ */222 #endif /* __ASSEMBLER__ */ 223 223 224 224 #endif -
kernel/arch/ia32/include/arch/pm.h
re0a4686 r53ad43c 81 81 #define IO_PORTS (64 * 1024) 82 82 83 #ifndef __AS M__83 #ifndef __ASSEMBLER__ 84 84 85 85 #include <typedefs.h> … … 170 170 extern void tss_initialize(tss_t *t); 171 171 172 #endif /* __AS M__ */172 #endif /* __ASSEMBLER__ */ 173 173 174 174 #endif -
kernel/arch/ia32/include/arch/smp/apic.h
re0a4686 r53ad43c 39 39 #define IO_APIC_BASE 0xfec00000 40 40 41 #ifndef __AS M__41 #ifndef __ASSEMBLER__ 42 42 43 43 #include <cpu.h> … … 369 369 extern void io_apic_enable_irqs(uint16_t); 370 370 371 #endif /* __AS M__ */371 #endif /* __ASSEMBLER__ */ 372 372 373 373 #endif -
kernel/arch/ia32/include/arch/vreg.h
re0a4686 r53ad43c 38 38 #define VREG_TP 0 39 39 40 #ifndef __AS M__40 #ifndef __ASSEMBLER__ 41 41 42 42 #include <stdint.h> … … 46 46 extern void vreg_init(void); 47 47 48 #endif /* __AS M__ */48 #endif /* __ASSEMBLER__ */ 49 49 50 50 #endif
Note:
See TracChangeset
for help on using the changeset viewer.