summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-05 08:28:39 +0200
committerAmlal EL Mahrouss <amlal@softwarelabs.com>2024-06-05 08:28:39 +0200
commit9994b8f3f88131f41be1061fb0947177e66dc7b0 (patch)
tree95409c0e32b644578b94a5c230417da684d79dc9
parent2cecacfe4f0cbbd8869cbd2c93a2f943aabd44ad (diff)
MHR-23: Add EPM PDF, add docs in KernelCall.c and fix log in NewFS.cxx
Signed-off-by: Amlal EL Mahrouss <amlal@softwarelabs.com>
-rw-r--r--DDK/KernelCall.c5
-rw-r--r--Kernel/Docs/Explicit Partition Map.pdfbin0 -> 12326 bytes
-rw-r--r--Kernel/KernelKit/PEF.hpp2
-rw-r--r--Kernel/Sources/FS/NewFS.cxx2
4 files changed, 7 insertions, 2 deletions
diff --git a/DDK/KernelCall.c b/DDK/KernelCall.c
index 17e0b5d5..26a0b83b 100644
--- a/DDK/KernelCall.c
+++ b/DDK/KernelCall.c
@@ -11,6 +11,11 @@
DK_EXTERN __attribute__((naked)) void __kernelDispatchCall(int32_t cnt, ...);
+/// @brief Execute a function on the kernel.
+/// @param kernelRpcName the name of the function.
+/// @param cnt number of arguments.
+/// @param
+/// @return
DK_EXTERN void* kernelCall(const char* kernelRpcName, int32_t cnt, ...)
{
if (!kernelRpcName || cnt == 0)
diff --git a/Kernel/Docs/Explicit Partition Map.pdf b/Kernel/Docs/Explicit Partition Map.pdf
new file mode 100644
index 00000000..1e2f5318
--- /dev/null
+++ b/Kernel/Docs/Explicit Partition Map.pdf
Binary files differ
diff --git a/Kernel/KernelKit/PEF.hpp b/Kernel/KernelKit/PEF.hpp
index 1874aa4e..98a413aa 100644
--- a/Kernel/KernelKit/PEF.hpp
+++ b/Kernel/KernelKit/PEF.hpp
@@ -44,7 +44,7 @@ namespace NewOS
{
kPefSubArchAMD,
kPefSubArchIntel,
- kPefSubArchARM,
+ kPefSubArchGeneric,
kPefSubArchIBM,
};
diff --git a/Kernel/Sources/FS/NewFS.cxx b/Kernel/Sources/FS/NewFS.cxx
index 5e07fef8..a60fc228 100644
--- a/Kernel/Sources/FS/NewFS.cxx
+++ b/Kernel/Sources/FS/NewFS.cxx
@@ -46,7 +46,7 @@ _Output NewFork* NewFSParser::CreateFork(_Input NewCatalog* catalog,
Lba lba = (theFork.Kind == kNewFSDataForkKind) ? catalog->DataFork
: catalog->ResourceFork;
- kcout << "Fork Lba: " << hex_number(lba) << endl;
+ kcout << "newoskrnl: fork lba: " << hex_number(lba) << endl;
if (lba <= kNewFSCatalogStartAddress)
return nullptr;