mirror of
https://github.com/tailix/kernel.git
synced 2024-10-30 12:03:52 -04:00
Remove unnecessary code
This commit is contained in:
parent
de73c345a2
commit
9aff6c435b
1 changed files with 3 additions and 11 deletions
|
@ -5,10 +5,9 @@
|
|||
#define MULTIBOOT_1_MAGIC 0x2BADB002
|
||||
#define MULTIBOOT_2_MAGIC 0x36d76289
|
||||
|
||||
#define MULTIBOOT_TAG_TYPE_END 0
|
||||
#define MULTIBOOT_TAG_TYPE_CMDLINE 1
|
||||
#define MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME 2
|
||||
#define MULTIBOOT_TAG_TYPE_MODULE 3
|
||||
#define MULTIBOOT_TAG_TYPE_END 0
|
||||
#define MULTIBOOT_TAG_TYPE_CMDLINE 1
|
||||
#define MULTIBOOT_TAG_TYPE_MODULE 3
|
||||
|
||||
struct multiboot_tag
|
||||
{
|
||||
|
@ -66,13 +65,6 @@ void print_multiboot_info(struct KernelMQ_Multiboot_Info info)
|
|||
);
|
||||
break;
|
||||
|
||||
case MULTIBOOT_TAG_TYPE_BOOT_LOADER_NAME:
|
||||
printf(
|
||||
"Boot loader name = %s\n",
|
||||
((struct multiboot_tag_string *) tag)->string
|
||||
);
|
||||
break;
|
||||
|
||||
case MULTIBOOT_TAG_TYPE_MODULE:
|
||||
printf(
|
||||
"Module at 0x%x-0x%x. Command line %s\n",
|
||||
|
|
Loading…
Reference in a new issue