libkernel/include/kernel/kernel.h

24 lines
470 B
C
Raw Normal View History

2020-05-28 21:47:22 +02:00
#pragma once
#include "kernel_defs.h"
2020-05-28 21:47:22 +02:00
#ifdef __cplusplus
extern "C"
{
#endif
#include <cstdint>
extern void KernelReadSRs(sr_table_t* table);
extern void KernelWriteSRs(sr_table_t* table);
2020-05-28 21:47:22 +02:00
extern void KernelCopyData(uint32_t dst, uint32_t src, uint32_t len);
void KernelReadPTE(uint32_t outputAddr, int32_t length);
void KernelWritePTE(uint32_t inputAddr, int32_t length);
void KernelNOPAtPhysicalAddress(uint32_t addr);
2020-05-28 21:47:22 +02:00
#ifdef __cplusplus
} // extern "C"
#endif