2020-03-25 21:05:14 +01:00
|
|
|
#ifndef __PROTOS__STIVALE_H__
|
|
|
|
#define __PROTOS__STIVALE_H__
|
|
|
|
|
2020-09-02 09:55:56 +02:00
|
|
|
#include <stdbool.h>
|
|
|
|
#include <stdint.h>
|
2020-09-18 20:02:10 +02:00
|
|
|
#include <sys/e820.h>
|
2020-09-21 12:15:55 +02:00
|
|
|
#include <mm/vmm.h>
|
2020-03-25 21:05:14 +01:00
|
|
|
|
2020-11-16 23:31:03 +01:00
|
|
|
void stivale_load(char *config, char *cmdline);
|
2020-09-18 14:39:29 +02:00
|
|
|
|
2021-04-14 11:06:14 +02:00
|
|
|
pagemap_t stivale_build_pagemap(bool level5pg, bool unmap_null);
|
2020-09-18 14:39:29 +02:00
|
|
|
__attribute__((noreturn)) void stivale_spinup(
|
2021-03-07 00:52:25 +01:00
|
|
|
int bits, bool level5pg, pagemap_t *pagemap,
|
2021-05-04 15:17:36 +02:00
|
|
|
uint64_t entry_point, uint64_t stivale_struct, uint64_t stack);
|
2020-03-25 21:05:14 +01:00
|
|
|
|
|
|
|
#endif
|