summaryrefslogtreecommitdiff
path: root/kernel/include/comus/mboot.h
blob: ebd5dad0db9c2a41a76271b2720dc47b2a92733f (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>
 *
 * Multiboot functions
 */

#ifndef MBOOT_H_
#define MBOOT_H_

#include <comus/memory.h>

/**
 * Load the multiboot information passed from the bootloader
 */
void mboot_init(long magic, volatile void *mboot);

/**
 * Get the memory map from multiboot
 */
int mboot_get_mmap(struct memory_map *map);

/**
 * Get the ACPI rsdp addr from multiboot
 */
void *mboot_get_rsdp(void);

#endif /* mboot.h */