Changeset 55896b6 in mainline
- Timestamp:
- 2011-11-07T23:18:33Z (13 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 29938b2
- Parents:
- 622f409
- Location:
- kernel
- Files:
-
- 21 added
- 12 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/abs32le/Makefile.inc
r622f409 r55896b6 57 57 arch/$(KARCH)/src/smp/smp.c \ 58 58 arch/$(KARCH)/src/smp/ipi.c \ 59 arch/$(KARCH)/src/mm/km.c \ 59 60 arch/$(KARCH)/src/mm/as.c \ 60 61 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/amd64/Makefile.inc
r622f409 r55896b6 86 86 arch/$(KARCH)/src/bios/bios.c \ 87 87 arch/$(KARCH)/src/interrupt.c \ 88 arch/$(KARCH)/src/mm/km.c \ 88 89 arch/$(KARCH)/src/mm/as.c \ 89 90 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/arm32/Makefile.inc
r622f409 r55896b6 53 53 arch/$(KARCH)/src/debug/stacktrace.c \ 54 54 arch/$(KARCH)/src/debug/stacktrace_asm.S \ 55 arch/$(KARCH)/src/mm/km.c \ 55 56 arch/$(KARCH)/src/mm/as.c \ 56 57 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/ia32/Makefile.inc
r622f409 r55896b6 99 99 arch/$(KARCH)/src/userspace.c \ 100 100 arch/$(KARCH)/src/cpu/cpu.c \ 101 arch/$(KARCH)/src/mm/km.c \ 101 102 arch/$(KARCH)/src/mm/as.c \ 102 103 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/ia64/Makefile.inc
r622f409 r55896b6 52 52 arch/$(KARCH)/src/ivt.S \ 53 53 arch/$(KARCH)/src/interrupt.c \ 54 arch/$(KARCH)/src/mm/km.c \ 54 55 arch/$(KARCH)/src/mm/as.c \ 55 56 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/mips32/Makefile.inc
r622f409 r55896b6 63 63 arch/$(KARCH)/src/debug/stacktrace.c \ 64 64 arch/$(KARCH)/src/debug/stacktrace_asm.S \ 65 arch/$(KARCH)/src/mm/km.c \ 65 66 arch/$(KARCH)/src/mm/frame.c \ 66 67 arch/$(KARCH)/src/mm/page.c \ -
kernel/arch/mips64/Makefile.inc
r622f409 r55896b6 55 55 arch/$(KARCH)/src/debug/stacktrace.c \ 56 56 arch/$(KARCH)/src/debug/stacktrace_asm.S \ 57 arch/$(KARCH)/src/mm/km.c \ 57 58 arch/$(KARCH)/src/mm/frame.c \ 58 59 arch/$(KARCH)/src/mm/page.c \ -
kernel/arch/ppc32/Makefile.inc
r622f409 r55896b6 52 52 arch/$(KARCH)/src/proc/scheduler.c \ 53 53 arch/$(KARCH)/src/ddi/ddi.c \ 54 arch/$(KARCH)/src/mm/km.c \ 54 55 arch/$(KARCH)/src/mm/as.c \ 55 56 arch/$(KARCH)/src/mm/frame.c \ -
kernel/arch/sparc64/Makefile.inc
r622f409 r55896b6 68 68 arch/$(KARCH)/src/fpu_context.c \ 69 69 arch/$(KARCH)/src/dummy.s \ 70 arch/$(KARCH)/src/mm/$(USARCH)/km.c \ 70 71 arch/$(KARCH)/src/mm/$(USARCH)/as.c \ 71 72 arch/$(KARCH)/src/mm/$(USARCH)/frame.c \ -
kernel/generic/include/config.h
r622f409 r55896b6 88 88 size_t stack_size; 89 89 90 bool identity_configured; 90 91 /** Base address of the kernel identity mapped memory. */ 91 92 uintptr_t identity_base; 92 93 /** Size of the kernel identity mapped memory. */ 93 size_t identity_size; 94 size_t identity_size; 95 96 bool non_identity_configured; 94 97 } config_t; 95 98 -
kernel/generic/src/main/main.c
r622f409 r55896b6 89 89 90 90 /** Global configuration structure. */ 91 config_t config; 91 config_t config = { 92 .identity_configured = false, 93 .non_identity_configured = false 94 }; 92 95 93 96 /** Initial user-space tasks */ -
kernel/generic/src/mm/km.c
r622f409 r55896b6 37 37 38 38 #include <mm/km.h> 39 #include <arch/mm/km.h> 40 #include <config.h> 39 41 40 42 /** Architecture dependent setup of identity-mapped kernel memory. */ 41 43 void km_identity_init(void) 42 44 { 45 km_identity_arch_init(); 46 config.identity_configured = true; 43 47 } 44 48 … … 46 50 void km_non_identity_init(void) 47 51 { 52 km_non_identity_arch_init(); 53 config.non_identity_configured = true; 48 54 } 49 55
Note:
See TracChangeset
for help on using the changeset viewer.