mirror of
https://github.com/cowmonk/cowos.git
synced 2026-03-13 16:43:29 +00:00
22 lines
571 B
C
22 lines
571 B
C
|
|
#ifndef BOOTLOADER_H
|
||
|
|
#define BOOTLOADER_H
|
||
|
|
|
||
|
|
#include "limine.h"
|
||
|
|
|
||
|
|
__attribute__((used, section(".limine_requests")))
|
||
|
|
static volatile LIMINE_BASE_REVISION(3);
|
||
|
|
|
||
|
|
__attribute__((used, section(".limine_requests")))
|
||
|
|
static volatile struct limine_framebuffer_request framebuffer_request = {
|
||
|
|
.id = LIMINE_FRAMEBUFFER_REQUEST,
|
||
|
|
.revision = 0
|
||
|
|
};
|
||
|
|
|
||
|
|
__attribute__((used, section(".limine_requests_start")))
|
||
|
|
static volatile LIMINE_REQUESTS_START_MARKER
|
||
|
|
|
||
|
|
__attribute__((used, section(".limine_requests_end")))
|
||
|
|
static volatile LIMINE_REQUESTS_END_MARKER;
|
||
|
|
|
||
|
|
#endif /* BOOTLOADER_H */
|