mirror of
https://github.com/tailix/libkernaux.git
synced 2024-11-27 11:14:42 -05:00
24 lines
435 B
C
24 lines
435 B
C
#ifdef HAVE_CONFIG_H
|
|
#include "config.h"
|
|
#endif
|
|
|
|
#include <kernaux/multiboot2.h>
|
|
|
|
#include <assert.h>
|
|
#include <stdio.h>
|
|
|
|
#include "multiboot2_example1.h"
|
|
|
|
int main()
|
|
{
|
|
assert(KernAux_Multiboot2_is_valid(
|
|
(struct KernAux_Multiboot2*)multiboot2_example1
|
|
));
|
|
|
|
KernAux_Multiboot2_print(
|
|
(struct KernAux_Multiboot2*)multiboot2_example1,
|
|
(void (*)(const char *format, ...))printf
|
|
);
|
|
|
|
return 0;
|
|
}
|