blob: 8887aec3237350c95ce28f9b7afe4239be9bd968 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
|
/**
* @file mboot.h
*
* @author Freya Murphy <freya@freyacat.org>
*
* Internal multiboot structures
*/
#ifndef __MBOOT_H_
#define __MBOOT_H_
#include <lib.h>
#define MULTIBOOT2_BOOTLOADER_MAGIC 0x36D76289
struct multiboot {
uint32_t total_size;
uint32_t reserved;
char tags[];
};
struct multiboot_tag {
uint32_t type;
uint32_t size;
};
void *locate_mboot_table(uint32_t type);
#endif /* mboot.h */
|