rulimine/stage23/protos/stivale.h

17 lines
457 B
C
Raw Permalink Normal View History

#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>
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(
int bits, bool level5pg, pagemap_t *pagemap,
uint64_t entry_point, uint64_t stivale_struct, uint64_t stack);
#endif