From a6eb9a77787f63f08470c3ff12ac0517b482ea65 Mon Sep 17 00:00:00 2001 From: Amlal Date: Sun, 29 Sep 2024 12:29:21 +0200 Subject: IMP: Design changes and reworked WM to PDM. - Refactor other modules and drivers as well. - AMD64 HAL code improvements as well. The last thing left is the paging API and driver loading internal API. Signed-off-by: Amlal --- dev/base/EncryptFS/disk_crypt.hxx | 23 +++++++++++++---------- dev/base/EncryptFS/src/disk_crypt.cxx | 2 +- dev/base/FireWall/src/fwentry.cc | 2 +- 3 files changed, 15 insertions(+), 12 deletions(-) (limited to 'dev/base') diff --git a/dev/base/EncryptFS/disk_crypt.hxx b/dev/base/EncryptFS/disk_crypt.hxx index 0b80a930..6fb19b29 100644 --- a/dev/base/EncryptFS/disk_crypt.hxx +++ b/dev/base/EncryptFS/disk_crypt.hxx @@ -2,8 +2,8 @@ Copyright ZKA Technologies. - File: Encrypt.hxx - Purpose: Encrypted File System + File: disk_encrypt.hxx + Purpose: Disk Encryption File System Revision History: @@ -15,14 +15,17 @@ #include -/**************************************** */ -/// @brief Locks an EFS partition. -/**************************************** */ +namespace Kernel +{ + /**************************************** */ + /// @brief Locks an EFS partition. + /**************************************** */ -Kernel::Int32 efs_lock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length); + Int32 efs_lock_partition(const Char* partition_name, const Char* password, SizeT length); -/**************************************** */ -/// @brief Unlocks an EFS partition. -/**************************************** */ + /**************************************** */ + /// @brief Unlocks an EFS partition. + /**************************************** */ -Kernel::Int32 efs_unlock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length); + Int32 efs_unlock_partition(const Char* partition_name, const Char* password, SizeT length); +} // namespace Kernel diff --git a/dev/base/EncryptFS/src/disk_crypt.cxx b/dev/base/EncryptFS/src/disk_crypt.cxx index d251efef..0c3cd8a2 100644 --- a/dev/base/EncryptFS/src/disk_crypt.cxx +++ b/dev/base/EncryptFS/src/disk_crypt.cxx @@ -4,7 +4,7 @@ ------------------------------------------- */ -#include +#include enum { diff --git a/dev/base/FireWall/src/fwentry.cc b/dev/base/FireWall/src/fwentry.cc index e7b929d3..582e7366 100644 --- a/dev/base/FireWall/src/fwentry.cc +++ b/dev/base/FireWall/src/fwentry.cc @@ -2,4 +2,4 @@ * Copyright (c) 2024 ZKA Technologies */ -#include \ No newline at end of file +#include -- cgit v1.2.3