-
-
Notifications
You must be signed in to change notification settings - Fork 4
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
7939d91
commit b2eadf3
Showing
1 changed file
with
28 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
/* | ||
* lux - a lightweight unix-like operating system | ||
* Omar Elghoul, 2024 | ||
* | ||
* Core Microkernel | ||
*/ | ||
|
||
#pragma once | ||
|
||
#include <platform/platform.h> | ||
|
||
#define PLATFORM | ||
|
||
#ifdef PLATFORM_X86_64 | ||
#undef PLATFORM | ||
#define PLATFORM "x86_64" | ||
#endif | ||
|
||
#ifdef PLATFORM_ARM64 | ||
#undef PLATFORM | ||
#define PLATFORM "arm64" | ||
#endif | ||
|
||
#ifndef RELEASE_VERSION | ||
#define KERNEL_VERSION "lux microkernel " PLATFORM " (built " __DATE__ ")" | ||
#else | ||
#define KERNEL_VERSION "lux microkernel " RELEASE_VERSION " " PLATFORM " (built " __DATE__ ")" | ||
#endif |