mirror of
https://github.com/tailix/kernel.git
synced 2025-04-14 17:33:13 -04:00
Remove unnecessary output
This commit is contained in:
parent
9a4b53dceb
commit
b64ce90abe
1 changed files with 1 additions and 7 deletions
|
@ -12,14 +12,12 @@ void print_multiboot_info(unsigned long addr)
|
|||
|
||||
if (addr & 7)
|
||||
{
|
||||
printf ("Unaligned mbi: 0x%x\n", addr);
|
||||
printf("Unaligned mbi: 0x%x\n", addr);
|
||||
return;
|
||||
}
|
||||
|
||||
size = *(unsigned *) addr;
|
||||
|
||||
printf ("Announced mbi size 0x%x\n", size);
|
||||
|
||||
for (
|
||||
tag = (struct multiboot_tag *) (addr + 8);
|
||||
tag->type != MULTIBOOT_TAG_TYPE_END;
|
||||
|
@ -37,10 +35,6 @@ void print_multiboot_info(unsigned long addr)
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
tag = (struct multiboot_tag *) ((multiboot_uint8_t *) tag + ((tag->size + 7) & ~7));
|
||||
|
||||
printf ("Total mbi size 0x%x\n", (unsigned) tag - addr);
|
||||
}
|
||||
|
||||
void itoa(char *buf, int base, int d)
|
||||
|
|
Loading…
Add table
Reference in a new issue