mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-27 12:48:22 +00:00
db55f99e23
This commit adds uACPI as a submodule and removes all handwritten table parsing code as well as struct definitions, since they now work via uACPI. There's also now an ability to shut down by using the power button.
12 lines
248 B
C
12 lines
248 B
C
#include <string.h>
|
|
#include <printf.h>
|
|
|
|
#define uacpi_memcpy memcpy
|
|
#define uacpi_memset memset
|
|
#define uacpi_memcmp memcmp
|
|
#define uacpi_strcmp strcmp
|
|
#define uacpi_strlen strlen
|
|
|
|
#define uacpi_snprintf snprintf
|
|
#define uacpi_vsnprintf vsnprintf
|