1
0
Fork 0
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:
Braiden Vasco 2017-11-01 13:30:45 +00:00
parent 9a4b53dceb
commit b64ce90abe

View file

@ -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)