diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-14 15:29:32 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2026-03-14 15:29:32 +0100 |
| commit | aaec2471dc7dee11d653ee89f893cc7de2d1a803 (patch) | |
| tree | ba5740906f531c9fee1ab51c5a9fdba90639ff23 /include/Drivers | |
| parent | 0e04c6c760dfdce867e002d2ee6aaef7a61ae405 (diff) | |
[CHORE] Update system headers, pre-final changes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'include/Drivers')
| -rw-r--r-- | include/Drivers/Config.h | 19 | ||||
| -rw-r--r-- | include/Drivers/DDK.h (renamed from include/Drivers/NeSystem.h) | 8 |
2 files changed, 23 insertions, 4 deletions
diff --git a/include/Drivers/Config.h b/include/Drivers/Config.h new file mode 100644 index 0000000..cb788d6 --- /dev/null +++ b/include/Drivers/Config.h @@ -0,0 +1,19 @@ +// SPDX-License-Identifier: Apache-2.0 +// Copyright 2026, Amlal El Mahrouss (amlal@nekernel.org) +// Licensed under the Apache License, Version 2.0 (see LICENSE file) +// Official repository: https://github.com/ne-foss-org/src + +#ifndef _NE_DDK_CONFIG_H_ +#define _NE_DDK_CONFIG_H_ + +#define _ARCH __ne_arch + +#define _SUBSYSTEM_NET 0x1000 +#define _SUBSYSTEM_DDK 0x1000 +#define _SUBSYSTEM_SYS 0x1000 + +#define _NEKERNEL 202603L + +#include <libDDK/DriverKit/DriverKit.h> + +#endif diff --git a/include/Drivers/NeSystem.h b/include/Drivers/DDK.h index fe042fa..f8a96ac 100644 --- a/include/Drivers/NeSystem.h +++ b/include/Drivers/DDK.h @@ -3,9 +3,9 @@ // Licensed under the Apache License, Version 2.0 (see LICENSE file) // Official repository: https://github.com/ne-foss-org/src -#ifndef _NE_DDK_H_ -#define _NE_DDK_H_ +#ifndef _NE_DDK_DDK_H_ +#define _NE_DDK_DDK_H_ -#include <libDDK/DriverKit/DriverKit.h> +#include <Drivers/Config.h> -#endif +#endif // _NE_DDK_DDK_H_ |
