stos: Print version in boot banner
Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
@@ -0,0 +1,28 @@
|
|||||||
|
/*
|
||||||
|
* 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);
|
||||||
|
|
||||||
|
#endif /* !_KE_BPAL_H_ */
|
||||||
@@ -0,0 +1,15 @@
|
|||||||
|
/*
|
||||||
|
* Copyright (c) 2026, Chloe M.
|
||||||
|
* Provided under the BSD-3 clause.
|
||||||
|
*
|
||||||
|
* Description: OS specific constants
|
||||||
|
* Author: Chloe M.
|
||||||
|
*/
|
||||||
|
|
||||||
|
#ifndef _KE_STOS_H_
|
||||||
|
#define _KE_STOS_H_ 1
|
||||||
|
|
||||||
|
/* Slut technology version */
|
||||||
|
#define ST_VERSION "v0.0.1 ~ pre-alpha"
|
||||||
|
|
||||||
|
#endif /* !_KE_STOS_H_ */
|
||||||
@@ -7,6 +7,7 @@
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#include <ex/trace.h>
|
#include <ex/trace.h>
|
||||||
|
#include <ke/stos.h>
|
||||||
#include <hal/serial.h>
|
#include <hal/serial.h>
|
||||||
#include <stdef.h>
|
#include <stdef.h>
|
||||||
|
|
||||||
@@ -16,7 +17,7 @@
|
|||||||
static VOID
|
static VOID
|
||||||
BootBanner(VOID)
|
BootBanner(VOID)
|
||||||
{
|
{
|
||||||
TRACE("Machine has been turned on~\n");
|
TRACE("SystemPaw3 ~ %s\n", ST_VERSION);
|
||||||
TRACE("Booting SystemPaw3 !! <3\n");
|
TRACE("Booting SystemPaw3 !! <3\n");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user