diff options
| author | Freya Murphy <freya@freyacat.org> | 2025-04-19 19:25:17 -0400 |
|---|---|---|
| committer | Freya Murphy <freya@freyacat.org> | 2025-04-20 20:54:32 -0400 |
| commit | 7a21506a0ce42c3a7d4f55bcbb4f88e9bab9b9a1 (patch) | |
| tree | e3131ff51b6eb5524235d409b819b4d93b272e9b /kernel/mboot/mmap.c | |
| parent | remove invalid includes (diff) | |
| download | comus-7a21506a0ce42c3a7d4f55bcbb4f88e9bab9b9a1.tar.gz comus-7a21506a0ce42c3a7d4f55bcbb4f88e9bab9b9a1.tar.bz2 comus-7a21506a0ce42c3a7d4f55bcbb4f88e9bab9b9a1.zip | |
rollback mem_map_memory
Diffstat (limited to 'kernel/mboot/mmap.c')
| -rw-r--r-- | kernel/mboot/mmap.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/kernel/mboot/mmap.c b/kernel/mboot/mmap.c index d72cf87..34b6a44 100644 --- a/kernel/mboot/mmap.c +++ b/kernel/mboot/mmap.c @@ -59,7 +59,8 @@ int mboot_get_mmap(struct memory_map *res) res->entries[idx].type = SEG_TYPE_DEFECTIVE; break; default: - continue; + res->entries[idx].type = SEG_TYPE_RESERVED; + break; } idx++; } |