Files
PluralTechnology/service/ptos/head/ke/bpal.h
T
2026-07-10 05:09:53 +00:00

41 lines
765 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 <ptapi/status.h>
#include <ptdef.h>
/*
* Represents a handle for the boot protocol abstraction
* layer containing data filled in by the bootloader.
*
* @KernelBase: Represents the kernel load base
*/
typedef struct {
UPTR KernelBase;
} BPAL_HANDLE;
/*
* Initialize the boot protocol abstraction layer
*/
VOID KeBpalInit(VOID);
/*
* Obtain the BPAL handle
*
* @Result: Result is written here
*/
PT_STATUS KeBpalGetHandle(BPAL_HANDLE *Result);
/* Backend protocol init */
VOID KeBpalLimineInit(BPAL_HANDLE *Result);
#endif /* !_KE_BPAL_H_ */