This commit is contained in:
Nicholas Orlowsky 2025-02-28 21:25:17 -05:00
parent ce2b373313
commit 9114529153
46 changed files with 126016 additions and 125522 deletions

12
kernel/syscall/syscall.h Normal file
View file

@ -0,0 +1,12 @@
#pragma once
#include <stdint.h>
#define POWERCTL_shutdown (0)
#define POWERCTL_reboot (1)
void powerctl(uint32_t);
char getc();
uint32_t lspci();
uint32_t lsproc();
void yield();