diff options
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_ |
