mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Fix code style
This commit is contained in:
parent
326f729ef9
commit
3140333cd8
1 changed files with 8 additions and 8 deletions
|
@ -144,9 +144,9 @@ void print_multiboot_tag_mmap(const struct multiboot_tag_mmap *const tag)
|
|||
printf("Memory map:\n");
|
||||
|
||||
for (
|
||||
multiboot_memory_map_t *mmap = ((struct multiboot_tag_mmap *) tag)->entries;
|
||||
const multiboot_memory_map_t *mmap = tag->entries;
|
||||
(unsigned char*)mmap < (unsigned char*)tag + tag->size;
|
||||
mmap = (multiboot_memory_map_t *)((unsigned long) mmap + ((struct multiboot_tag_mmap *) tag)->entry_size)
|
||||
mmap = (multiboot_memory_map_t*)((unsigned long) mmap + tag->entry_size)
|
||||
) {
|
||||
printf(
|
||||
" base_addr = 0x%x%x, length = 0x%x%x, type = 0x%x\n",
|
||||
|
|
Loading…
Reference in a new issue