From eb2046d6cc73540f540b30e94bf4593ddf24100e Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 31 Jan 2024 14:41:48 +0100 Subject: - Update UEFI implementation of SimpleTextProtocol. - Working on BFileReader. - Working on Interrupts for AMD64. - Refactor copyright remove year. Signed-off-by: Amlal El Mahrouss --- Private/NewBoot/BootKit/BootKit.hxx | 6 ++++-- Private/NewBoot/BootKit/Platform.hxx | 1 + Private/NewBoot/BootKit/Protocol.hxx | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) (limited to 'Private/NewBoot/BootKit') diff --git a/Private/NewBoot/BootKit/BootKit.hxx b/Private/NewBoot/BootKit/BootKit.hxx index e4c14d3a..6f0ee927 100644 --- a/Private/NewBoot/BootKit/BootKit.hxx +++ b/Private/NewBoot/BootKit/BootKit.hxx @@ -2,7 +2,7 @@ * ======================================================== * * NewBoot - * Copyright 2024 Mahrouss Logic, all rights reserved. + * Copyright Mahrouss Logic, all rights reserved. * * ======================================================== */ @@ -56,9 +56,11 @@ HCore::SizeT BSetMem(char *src, const char byte, const HCore::SizeT len); */ class BFileReader final { public: - explicit BFileReader() = default; + explicit BFileReader(const char *path); ~BFileReader() = default; + HCore::VoidPtr ReadAll(); + public: BFileReader &operator=(const BFileReader &) = default; BFileReader(const BFileReader &) = default; diff --git a/Private/NewBoot/BootKit/Platform.hxx b/Private/NewBoot/BootKit/Platform.hxx index d4143094..917678b9 100644 --- a/Private/NewBoot/BootKit/Platform.hxx +++ b/Private/NewBoot/BootKit/Platform.hxx @@ -20,5 +20,6 @@ extern "C" void rt_halt(); extern "C" void rt_cli(); extern "C" void rt_sti(); extern "C" void rt_cld(); +extern "C" void rt_std(); #endif /* ifdef __x86_64__ */ diff --git a/Private/NewBoot/BootKit/Protocol.hxx b/Private/NewBoot/BootKit/Protocol.hxx index d9f7836a..2f84d0a8 100644 --- a/Private/NewBoot/BootKit/Protocol.hxx +++ b/Private/NewBoot/BootKit/Protocol.hxx @@ -2,7 +2,7 @@ * ======================================================== * * NewBoot - * Copyright 2024 Mahrouss Logic, all rights reserved. + * Copyright Mahrouss Logic, all rights reserved. * * ======================================================== */ -- cgit v1.2.3