From b5b904cfc9bf22ce9f6c3cfcf110e4559ef0994a Mon Sep 17 00:00:00 2001 From: trimill Date: Wed, 31 Jan 2024 22:30:35 -0500 Subject: follow the corn style guide --- src/memory/physalloc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/memory/physalloc.c') 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)) -- cgit v1.2.3-freya