Changeset aa72859 in mainline
- Timestamp:
- 2005-11-22T18:44:55Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- db41406
- Parents:
- 7453929
- Files:
-
- 1 deleted
- 7 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/include/boot/boot.h
r7453929 raa72859 34 34 35 35 #define MULTIBOOT_HEADER_MAGIC 0x1BADB002 36 #define MULTIBOOT_HEADER_FLAGS 0x0001000 336 #define MULTIBOOT_HEADER_FLAGS 0x0001000B 37 37 38 38 #define MULTIBOOT_LOADER_MAGIC 0x2BADB002 -
arch/ia32/include/boot/memmap.h
r7453929 raa72859 30 30 #define __ia32_MEMMAP_H__ 31 31 32 /* E820h memory range types - other values*/ 33 /* Free memory */ 34 #define MEMMAP_MEMORY_AVAILABLE 1 35 /* Not available for OS */ 36 #define MEMMAP_MEMORY_RESERVED 2 37 /* OS may use it after reading ACPI table */ 38 #define MEMMAP_MEMORY_ACPI 3 39 /* Unusable, required to be saved and restored across an NVS sleep */ 40 #define MEMMAP_MEMORY_NVS 4 41 /* Corrupted memory */ 42 #define MEMMAP_MEMORY_UNUSABLE 5 32 43 33 #include <arch/boot/memmapasm.h> 44 /* size of one entry */ 45 #define MEMMAP_E820_RECORD_SIZE 20 46 /* maximum entries */ 47 #define MEMMAP_E820_MAX_RECORDS 32 48 49 50 #ifndef __ASM__ 51 34 52 #include <arch/types.h> 35 53 … … 47 65 48 66 #endif 67 68 #endif -
arch/ia32/src/boot/boot.S
r7453929 raa72859 28 28 29 29 #include <arch/boot/boot.h> 30 #include <arch/boot/memmap asm.h>30 #include <arch/boot/memmap.h> 31 31 #include <arch/mm/page.h> 32 32 #include <arch/pm.h> … … 157 157 movl %ecx, e801memorysize 158 158 159 bt $3, %eax # mbi->flags[3] (mods_count, mods_addr valid) 160 jc mods_valid 161 162 xorl %ecx, %ecx 163 xorl %edx, %edx 164 jmp mods_invalid 165 166 mods_valid: 167 168 mods_invalid: 169 movl %ecx, init_addr 170 movl %edx, init_size 171 159 172 bt $6, %eax # mbi->flags[6] (mmap_length, mmap_addr valid) 160 173 jc mmap_valid -
arch/ia32/src/boot/memmap.S
r7453929 raa72859 28 28 29 29 30 #include <arch/boot/memmap asm.h>30 #include <arch/boot/memmap.h> 31 31 32 32 E820_SMAP = 0x534d4150 -
arch/mips32/Makefile.inc
r7453929 raa72859 42 42 43 43 KERNEL_LOAD_ADDRESS = 0x80100000 44 INIT_ADDRESS = 0x80110000 45 INIT_SIZE = 65536 44 46 CFLAGS += -mno-abicalls -G 0 -fno-zero-initialized-in-bss 45 DEFS += -DMACHINE=${MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} 47 DEFS += -DMACHINE=${MACHINE} -DKERNEL_LOAD_ADDRESS=${KERNEL_LOAD_ADDRESS} -DINIT_ADDRESS=${INIT_ADDRESS} -DINIT_SIZE=${INIT_SIZE} 46 48 47 49 ## Accepted MACHINEs -
contrib/conf/msim.conf
r7453929 raa72859 8 8 add rwm mainmem 0x00100000 16M load "kernel.bin" 9 9 add rom startmem 0x1fc00000 1k load "load.bin" 10 add rwm init 0x00110000 64k load "init" 10 11 11 12 add dprinter printer 0x10000000 -
generic/src/main/main.c
r7453929 raa72859 85 85 size_t hardcoded_kdata_size = 0; 86 86 87 __address init_addr = 0; 88 size_t init_size = 0; 89 87 90 /* 88 91 * Size of memory in bytes taken by kernel and heap.
Note:
See TracChangeset
for help on using the changeset viewer.