stos+amd64: Add serial logging + trace facility

Signed-off-by: Chloe M. <chloe@mensia.org>
This commit is contained in:
Chloe M.
2026-06-22 01:39:29 +00:00
parent 70dcf7938f
commit aec7ddb4a2
6 changed files with 183 additions and 3 deletions
+27
View File
@@ -0,0 +1,27 @@
/*
* Copyright (c) 2026, Chloe M.
* Provided under the BSD-3 clause.
*
* Description: HAL serial interface
* Author: Chloe M.
*/
#ifndef _HAL_SERIAL_H_
#define _HAL_SERIAL_H_ 1
#include <stapi/status.h>
/*
* Initialize the serial driver
*/
ST_STATUS HalSerialInit(VOID);
/*
* Transmit data over serial
*
* @Data: Data to transmit
* @Length: Length of data to transmit
*/
VOID HalSerialWrite(const CHAR *Data, USIZE Length);
#endif /* !_HAL_SERIAL_H_ */