2022-12-16 03:28:58 -05:00
|
|
|
#ifndef KERNAUX_INCLUDED_MULTIBOOT2_INFO_HELPERS
|
|
|
|
#define KERNAUX_INCLUDED_MULTIBOOT2_INFO_HELPERS
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
extern "C" {
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#include <kernaux/multiboot2.h>
|
|
|
|
|
|
|
|
const struct KernAux_Multiboot2_ITagBase
|
|
|
|
*KernAux_Multiboot2_Info_first_tag_with_type(
|
|
|
|
const struct KernAux_Multiboot2_Info *multiboot2_info,
|
2022-12-16 21:31:09 -05:00
|
|
|
uint32_t tag_type
|
2022-12-16 03:28:58 -05:00
|
|
|
);
|
|
|
|
|
|
|
|
const struct KernAux_Multiboot2_ITagBase
|
|
|
|
*KernAux_Multiboot2_Info_tag_with_type_after(
|
|
|
|
const struct KernAux_Multiboot2_Info *multiboot2_info,
|
2022-12-16 21:31:09 -05:00
|
|
|
uint32_t tag_type,
|
2022-12-16 03:28:58 -05:00
|
|
|
const struct KernAux_Multiboot2_ITagBase *after_tag
|
|
|
|
);
|
|
|
|
|
|
|
|
const char *KernAux_Multiboot2_Info_boot_cmd_line(
|
|
|
|
const struct KernAux_Multiboot2_Info *multiboot2_info
|
|
|
|
);
|
|
|
|
|
|
|
|
#ifdef __cplusplus
|
|
|
|
}
|
|
|
|
#endif
|
|
|
|
|
|
|
|
#endif
|