diff options
| author | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 13:39:23 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@el-mahrouss-logic.com> | 2024-03-21 13:39:55 +0100 |
| commit | 051e2cfb8df4f2fc1ef711ca7351e7018b4c6e1c (patch) | |
| tree | bd220c371991418bdb8c0a7de2fc9547c3009708 /Public/Kits/System.Core/Defs.hxx | |
| parent | 333fed96b7ccd3ee4f5f097445408dde34d330db (diff) | |
unstable: secret: Start work on AHCI driver, getting it to initialize
first.
Signed-off-by: Amlal El Mahrouss <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'Public/Kits/System.Core/Defs.hxx')
| -rw-r--r-- | Public/Kits/System.Core/Defs.hxx | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/Public/Kits/System.Core/Defs.hxx b/Public/Kits/System.Core/Defs.hxx index e99abcc4..6d0fb99a 100644 --- a/Public/Kits/System.Core/Defs.hxx +++ b/Public/Kits/System.Core/Defs.hxx @@ -66,10 +66,10 @@ typedef CHAR BOOL; #define TRUE 1 #define FALSE 0 -#define PTR * +#define CA_PTR * -#define FAR __far -#define NEAR __near +#define CA_FAR __far +#define CA_NEAR __near #define CA_UNREFERENCED_PARAMETER(e) ((VOID)e) @@ -89,6 +89,10 @@ typedef CHAR BOOL; # define _M_64000 5 #endif +#ifdef __riscv__ +# define _M_RISCV 6 +#endif + #define CA_STATIC static #define CA_INLINE inline #define CA_CONST const |
