Changeset 71eef11 in mainline for kernel/arch/ia32/src
- Timestamp:
- 2008-02-06T14:24:13Z (17 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7208b6c
- Parents:
- 1b067315
- Location:
- kernel/arch/ia32/src
- Files:
-
- 1 deleted
- 2 edited
- 1 moved
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/src/boot/boot.S
r1b067315 r71eef11 110 110 je valid_boot 111 111 112 xorl %ecx, %ecx # no memory size or map available 113 movl %ecx, e801memorysize 112 xorl %ecx, %ecx # no memory map available 114 113 movl %ecx, e820counter 115 114 … … 119 118 120 119 movl (%ebx), %eax # ebx = physical address of struct multiboot_info 121 122 bt $0, %eax # mbi->flags[0] (mem_lower, mem_upper valid)123 jc mem_valid124 125 xorl %ecx, %ecx126 jmp mem_invalid127 128 mem_valid:129 movl 4(%ebx), %ecx # mbi->mem_lower130 addl 8(%ebx), %ecx # mbi->mem_upper131 132 mem_invalid:133 movl %ecx, e801memorysize134 120 135 121 bt $3, %eax # mbi->flags[3] (mods_count, mods_addr valid) -
kernel/arch/ia32/src/boot/memmap.c
r1b067315 r71eef11 1 1 /* 2 * Copyright (c) 2005 Martin Decky2 * Copyright (c) 2005 Josef Cejka 3 3 * All rights reserved. 4 4 * … … 27 27 */ 28 28 29 /** @addtogroup ppc64mm29 /** @addtogroup ia32mm 30 30 * @{ 31 31 */ … … 33 33 */ 34 34 35 #ifndef KERN_ppc64_MEMORY_INIT_H_ 36 #define KERN_ppc64_MEMORY_INIT_H_ 35 #include <arch/boot/memmap.h> 37 36 38 size_t get_memory_size(void); 39 40 #endif 37 uint8_t e820counter = 0xff; 38 e820memmap_t e820table[MEMMAP_E820_MAX_RECORDS]; 41 39 42 40 /** @} -
kernel/arch/ia32/src/ia32.c
r1b067315 r71eef11 55 55 #include <arch/bios/bios.h> 56 56 57 #include <arch/mm/memory_init.h>58 57 #include <interrupt.h> 59 58 #include <ddi/irq.h>
Note:
See TracChangeset
for help on using the changeset viewer.