diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-24 06:57:42 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-24 06:58:12 +0200 |
| commit | 4b4fe020a328e991ffd15ae475ad7a5d38f097a5 (patch) | |
| tree | 990a0f03c13bb0878c00e8ec1d6f9c259ecb64a0 /dev/hpfs | |
| parent | 107b2b9cad2b2502c3eebc0a77013edde2551257 (diff) | |
IMP: Working on Paging API...
FIX: Fixed the path of filesystem's ESP.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/hpfs')
| -rw-r--r-- | dev/hpfs/epm/blob.json (renamed from dev/hpfs/EPM/blob.json) | 0 | ||||
| -rw-r--r-- | dev/hpfs/epm/ebs.i (renamed from dev/hpfs/EPM/EBS.i) | 0 | ||||
| -rw-r--r-- | dev/hpfs/epm/epm.asm (renamed from dev/hpfs/EPM/EPM.asm) | 0 | ||||
| -rw-r--r-- | dev/hpfs/hpfs_specs.hxx | 3 | ||||
| -rw-r--r-- | dev/hpfs/src/hpfs_main.cxx | 6 |
5 files changed, 5 insertions, 4 deletions
diff --git a/dev/hpfs/EPM/blob.json b/dev/hpfs/epm/blob.json index 4ce4fc1c..4ce4fc1c 100644 --- a/dev/hpfs/EPM/blob.json +++ b/dev/hpfs/epm/blob.json diff --git a/dev/hpfs/EPM/EBS.i b/dev/hpfs/epm/ebs.i index c137b6f4..c137b6f4 100644 --- a/dev/hpfs/EPM/EBS.i +++ b/dev/hpfs/epm/ebs.i diff --git a/dev/hpfs/EPM/EPM.asm b/dev/hpfs/epm/epm.asm index 2197d2cd..2197d2cd 100644 --- a/dev/hpfs/EPM/EPM.asm +++ b/dev/hpfs/epm/epm.asm diff --git a/dev/hpfs/hpfs_specs.hxx b/dev/hpfs/hpfs_specs.hxx index 4fc24c21..5c82be90 100644 --- a/dev/hpfs/hpfs_specs.hxx +++ b/dev/hpfs/hpfs_specs.hxx @@ -9,7 +9,4 @@ #pragma once -typedef __INT32_TYPE__ HPFS_INT32; -typedef void HPFS_VOID; - #define cHPFSVersion 0x0100 diff --git a/dev/hpfs/src/hpfs_main.cxx b/dev/hpfs/src/hpfs_main.cxx index eaa64dc5..187fb3ce 100644 --- a/dev/hpfs/src/hpfs_main.cxx +++ b/dev/hpfs/src/hpfs_main.cxx @@ -10,11 +10,15 @@ #include <hpfs/hpfs_specs.hxx> #include <ddk/KernelStd.h> +static DDK_OBJECT_MANIFEST* cIFSObject = nullptr; + /** @brief HPFS IFS main. */ -HPFS_INT32 ModuleMain(HPFS_VOID) +int32_t ModuleMain(void) { auto ifs_handle = KernelGetObject(0, "IFS_OBJECT"); // TODO: Register this IFS with necessary I/O functions... + cIFSObject = ifs_handle; + return 0; } |
