Compare commits
2 Commits
dcf4444d0d
...
0c07e66c4f
Author | SHA1 | Date | |
---|---|---|---|
0c07e66c4f | |||
28028d229f |
2
.vscode/c_cpp_properties.json
vendored
2
.vscode/c_cpp_properties.json
vendored
@ -11,7 +11,7 @@
|
|||||||
"${default}",
|
"${default}",
|
||||||
"${workspaceFolder}/base/usr/include",
|
"${workspaceFolder}/base/usr/include",
|
||||||
"${workspaceFolder}/libc/include",
|
"${workspaceFolder}/libc/include",
|
||||||
"${workspaceFolder}/luna/include"
|
"${workspaceFolder}/libluna/include"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
|
@ -8,10 +8,10 @@ A simple kernel and userspace for desktop computers, written mostly in C++ and C
|
|||||||
- Can [load ELF programs](kernel/src/ELF.cpp) from the file system as userspace tasks.
|
- Can [load ELF programs](kernel/src/ELF.cpp) from the file system as userspace tasks.
|
||||||
- [System call](kernel/src/sys/) interface and [C Library](libc/), aiming to be mostly POSIX-compatible.
|
- [System call](kernel/src/sys/) interface and [C Library](libc/), aiming to be mostly POSIX-compatible.
|
||||||
- Designed to be [portable](kernel/src/arch), no need to be restricted to x86_64.
|
- Designed to be [portable](kernel/src/arch), no need to be restricted to x86_64.
|
||||||
- Fully [UTF-8 aware](luna/include/luna/Utf8.h), **everywhere**.
|
- Fully [UTF-8 aware](libluna/include/luna/Utf8.h), **everywhere**.
|
||||||
- [Thread](luna/include/luna/Atomic.h) [safety](kernel/src/thread/Spinlock.h) (supposedly).
|
- [Thread](libluna/include/luna/Atomic.h) [safety](kernel/src/thread/Spinlock.h) (supposedly).
|
||||||
- Environment-agnostic [utility library](luna/), which can be used in both kernel and userspace.
|
- Environment-agnostic [utility library](libluna/), which can be used in both kernel and userspace.
|
||||||
- Return-oriented [error propagation](luna/include/luna/Result.h), inspired by Rust and SerenityOS.
|
- Return-oriented [error propagation](libluna/include/luna/Result.h), inspired by Rust and SerenityOS.
|
||||||
- Build system uses [CMake](CMakeLists.txt).
|
- Build system uses [CMake](CMakeLists.txt).
|
||||||
|
|
||||||
## Setup
|
## Setup
|
||||||
|
@ -5,8 +5,8 @@ source $(dirname $0)/env.sh
|
|||||||
cd $LUNA_ROOT
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
SOURCES=($(find kernel/src -type f | grep -v "\.asm"))
|
SOURCES=($(find kernel/src -type f | grep -v "\.asm"))
|
||||||
SOURCES+=($(find luna/src -type f))
|
SOURCES+=($(find libluna/src -type f))
|
||||||
SOURCES+=($(find luna/include/luna -type f))
|
SOURCES+=($(find libluna/include/luna -type f))
|
||||||
|
|
||||||
ALL_OK=1
|
ALL_OK=1
|
||||||
|
|
||||||
@ -27,4 +27,4 @@ then
|
|||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
|
|
||||||
exit 1
|
exit 1
|
||||||
|
@ -6,8 +6,8 @@ source $(dirname $0)/env.sh
|
|||||||
cd $LUNA_ROOT
|
cd $LUNA_ROOT
|
||||||
|
|
||||||
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
SOURCES=($(find kernel/src -type f | grep -v "\.asm" | grep -v "bootboot.h"))
|
||||||
SOURCES+=($(find luna/src -type f))
|
SOURCES+=($(find libluna/src -type f))
|
||||||
SOURCES+=($(find luna/include/luna -type f | grep -v "Types.h"))
|
SOURCES+=($(find libluna/include/luna -type f | grep -v "Types.h"))
|
||||||
|
|
||||||
SUCCESS=1
|
SUCCESS=1
|
||||||
|
|
||||||
@ -42,4 +42,4 @@ then
|
|||||||
exit 1
|
exit 1
|
||||||
else
|
else
|
||||||
echo All files OK
|
echo All files OK
|
||||||
fi
|
fi
|
||||||
|
Loading…
Reference in New Issue
Block a user