stos: Handle pre BPAL kernel knots

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-23 05:45:35 +00:00
parent 81d5f13a30
commit 5c522ffc7f
4 changed files with 31 additions and 6 deletions
+5
View File
@@ -97,6 +97,11 @@ VOID KeBpalInit(VOID);
*/
VOID KeBpalGetHandle(BPAL_HANDLE *Result);
/*
* Returns true if the BPAL is initialized
*/
BOOLEAN KeBpalIsInit(VOID);
/*
* Obtain the kernel load virtual memory base
*/
+5 -3
View File
@@ -14,12 +14,14 @@
/*
* Valid knot reasons
*
* @KNOT_MISC: Misc. reason
* @KNOT_UNBOUND_RSRC: Unbounded resource
* @KNOT_MISC: Misc. reason
* @KNOT_UNBOUND_RSRC: Unbounded resource
* @KNOT_BAD_BOOT_PROTO: Bad boot protocol
*/
typedef enum {
KNOT_MISC,
KNOT_UNBOUND_RSRC
KNOT_UNBOUND_RSRC,
KNOT_BAD_BOOT_PROTO
} KNOT_REASON;
/*