rulimine/stage23/protos/stivale.h

17 lines
436 B
C
Raw Normal View History

#ifndef __PROTOS__STIVALE_H__
#define __PROTOS__STIVALE_H__
2020-09-02 10:55:56 +03:00
#include <stdbool.h>
#include <stdint.h>
2020-09-18 21:02:10 +03:00
#include <sys/e820.h>
2020-09-21 13:15:55 +03:00
#include <mm/vmm.h>
void stivale_load(char *config, char *cmdline);
2020-09-18 15:39:29 +03:00
pagemap_t stivale_build_pagemap(bool level5pg);
2020-09-18 15:39:29 +03:00
__attribute__((noreturn)) void stivale_spinup(
int bits, bool level5pg, pagemap_t pagemap,
uint64_t entry_point, void *stivale_struct, uint64_t stack);
#endif