Changeset 4a816fe in mainline
- Timestamp:
- 2009-03-30T19:06:51Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 18251cc
- Parents:
- c213c77
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/src/multiboot/multiboot.c
rc213c77 r4a816fe 101 101 102 102 if ((flags & MBINFO_FLAGS_MODS) != 0) { 103 init.cnt = mi ->mods_count;103 init.cnt = min(mi->mods_count, CONFIG_INIT_TASKS); 104 104 mods = (multiboot_mod_t *) MULTIBOOT_PTR(mi->mods_addr); 105 105 … … 131 131 132 132 i = 0; 133 while ( mmap_length > 0) {133 while ((mmap_length > 0) && (i < MEMMAP_E820_MAX_RECORDS)) { 134 134 e820table[i++] = mme->mm_info; 135 135
Note:
See TracChangeset
for help on using the changeset viewer.