bb6e4d98d1
Signed-off-by: Chloe M. <chloe@mensia.org>
39 lines
660 B
C
39 lines
660 B
C
/*
|
|
* Copyright (c) 2026, Chloe M.
|
|
* Provided under the BSD-3 clause.
|
|
*
|
|
* Description: Boot protocol abstraction layer
|
|
* Author: Chloe M.
|
|
*/
|
|
|
|
#ifndef _KE_BPAL_H_
|
|
#define _KE_BPAL_H_ 1
|
|
|
|
#include <stdef.h>
|
|
|
|
/*
|
|
* Boot protocol abstraction handle
|
|
*
|
|
* @KernelBase: Kernel load base
|
|
*/
|
|
typedef struct {
|
|
UPTR KernelBase;
|
|
} BPAL_HANDLE;
|
|
|
|
/*
|
|
* Initialize the boot protocol abstraction layer
|
|
*/
|
|
VOID KeBpalInit(VOID);
|
|
|
|
/*
|
|
* Obtain the boot protocol handle
|
|
*
|
|
* @Result: Result is written here
|
|
*/
|
|
VOID KeBpalGetHandle(BPAL_HANDLE *Result);
|
|
|
|
/* Backend init functions */
|
|
VOID KeBpalLimineInit(BPAL_HANDLE *Handle);
|
|
|
|
#endif /* !_KE_BPAL_H_ */
|