summaryrefslogtreecommitdiffhomepage
path: root/Private/EFIKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-01 14:41:18 +0100
committerAmlal El Mahrouss <amlalelmahrouss@icloud.com>2024-02-01 14:45:34 +0100
commit4efd7b8a6608a9299ef8cc750c264a3be0cb12e7 (patch)
treed146ac34c2587274beecd602ca8f6064cd11e125 /Private/EFIKit
parent1bb395c7ceae7d06448e2ac6f60e91ffffe6b091 (diff)
HCR-9 : Update EFIKit, working on Volume API.
HCR-9 Related: - New EfiMountVolume, EfiUnmountVolume. Kernel Related: - Update Shared Object API, it was lacking a cleanup routine. - Add __mh_purecall as a C linked symbol for unknown symbols. Signed-off-by: Amlal El Mahrouss <amlalelmahrouss@icloud.com>
Diffstat (limited to 'Private/EFIKit')
-rw-r--r--Private/EFIKit/EFILib.hxx6
1 files changed, 5 insertions, 1 deletions
diff --git a/Private/EFIKit/EFILib.hxx b/Private/EFIKit/EFILib.hxx
index 3f041e37..fcd5df7d 100644
--- a/Private/EFIKit/EFILib.hxx
+++ b/Private/EFIKit/EFILib.hxx
@@ -68,7 +68,11 @@ enum {
kPartCnt,
};
-class EFIPartitionManager final {};
+typedef EfiHandlePtr* EfiFilesystemHandlePtr;
+
+EfiFilesystemHandlePtr EfiMountVolume(const EfiCharType* MountPath,
+ Int32 PartitionType);
+Boolean EfiUnmountVolume(EfiFilesystemHandlePtr Handle);
#ifdef __BOOTLOADER__
#include <BootKit/Platform.hxx>