diff options
author | trimill <trimill@trimillxyz.org> | 2024-01-31 22:30:35 -0500 |
---|---|---|
committer | trimill <trimill@trimillxyz.org> | 2024-02-01 17:01:20 -0500 |
commit | b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a (patch) | |
tree | 2b352192a63e75fa921ac82ef370adb7da49434d /src/memory/physalloc.c | |
parent | display mem formatted (diff) | |
download | corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.gz corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.tar.bz2 corn-b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a.zip |
follow the corn style guide
Diffstat (limited to 'src/memory/physalloc.c')
-rw-r--r-- | src/memory/physalloc.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/memory/physalloc.c b/src/memory/physalloc.c index 71df848..67c99c7 100644 --- a/src/memory/physalloc.c +++ b/src/memory/physalloc.c @@ -170,7 +170,7 @@ void memory_init(struct memory_map *map) { segment_count = 0; - for(uint32_t i = 0; i < map->entry_count; i++) { + for (uint32_t i = 0; i < map->entry_count; i++) { struct memory_segment *segment = &map->entries[i]; if (segment_invalid(segment)) @@ -201,7 +201,7 @@ void memory_init(struct memory_map *map) { struct memory_area *area = page_start; kprintf("MEMORY MAP\n"); - for(uint32_t i = 0; i < map->entry_count; i++) { + for (uint32_t i = 0; i < map->entry_count; i++) { struct memory_segment *segment = &map->entries[i]; if (segment_invalid(segment)) |