Commit Graph

51 Commits

Author SHA1 Message Date
hwachakarter 8ede78359d Merge pull request #11 from 0xKSor/feat/elf 2026-04-26 14:34:37 +09:00
karina 6698c4ab3f feat: kernel is now elf 2026-04-26 09:32:07 +04:00
karina 1463402c6c fix: added missing backslash in justfile 2026-04-25 16:09:32 +04:00
Karina 6d9402aac2 Merge pull request #9 from 0xKSor/build/debugging
Build/debugging
2026-04-25 16:06:29 +04:00
karina 77db85ccc5 build: added drun and dcrun (debugging) 2026-04-25 16:04:10 +04:00
karina 716dc37da1 fix: rename types.h to Types.h to fix clang warnings 2026-04-25 11:22:50 +04:00
hwachakarter a7f0fa3a15 Merge pull request #8 from 0xKSor/build/switched-to-ninja
build: switched to ninja
2026-04-25 15:32:07 +09:00
hwachakarter e8a686f23f Merge pull request #7 from 0xKSor/refactor/renamed-types-to-Types
ref: renamed types.h to Types.h for match naming convention; also add…
2026-04-25 15:06:20 +09:00
karina 14912b8067 build: switched to ninja 2026-04-25 10:01:31 +04:00
karina e49af76aef ref: renamed types.h to Types.h for match naming convention; also added Align.h and Bytes.h with helpers 2026-04-25 09:56:17 +04:00
karina b606fa23d0 feat: OSPanic(message) 2026-04-25 06:55:41 +04:00
karina 730d88f9b0 fix: preserve bootinfo pointer in kernel _start 2026-04-25 06:05:46 +04:00
hwachakarter 0d8b38a9b9 Merge pull request #6 from 0xKSor/experimental/ckernel
Rewrite kernel in C
2026-04-24 23:18:33 +09:00
karina 560bdc8b1d feat: error parse in panic 2026-04-24 18:14:04 +04:00
karina 78dcfdd662 feat: formatter and oslog() 2026-04-24 16:30:02 +04:00
karina 373ee00d04 feat: add kernel exception panic 2026-04-23 23:14:24 +04:00
karina f469da7e0b refactor(kernel): minor refactor. Changed naming convention 2026-04-23 22:22:13 +04:00
karina 93bce5a46d feat(kernel): add vectors.S and Exceptions.h/c as a stub for future exceptions handling 2026-04-23 22:03:18 +04:00
karina 502413b9ab feat(kernel): add PL011 UART console and arch I/O helpers
- Add IOSerial: PL011 (0x0900_0000) TX with FIFO-full polling, yield while waiting
- Add Arch/IO.h (32-bit MMIO with DSB) and Arch/CPU.h (yield, WFI)
- Extend types.h (e.g. ASCII, Address, Int/UInt aliases)
- Wire KernelMain to IOSerialPutString for early boot output
- Drop .sourcekit-lsp config; note IO glob in CMake (commented)
2026-04-23 21:25:15 +04:00
karina cf142ba78e fix: clangd 2026-04-23 06:49:40 +04:00
karina bfa84040b8 wip: bare bones for C in kernel 2026-04-22 23:12:06 +04:00
karina 97538aa098 wip: vectors, panics and lsp fix 2026-04-22 09:32:01 +04:00
karina 7aa49b37f5 chore: compile_commands.json now is at {{TEMP_DIR}}/Kernel instead of Kernel sources 2026-04-21 06:37:34 +04:00
hwachakarter 7f686d6054 Merge pull request #5 from 0xKSor/ref/bootloader-refactor 2026-04-21 09:11:56 +09:00
karina a331d395d5 refactor: drop posix-uefi from bootloader
Replace the vendored POSIX-UEFI runtime with a small local EFI entry and header so the bootloader depends only on the UEFI interfaces it actually uses.

Made-with: Cursor
2026-04-20 23:03:36 +04:00
Karina 5e225f8f7f chore: add vanilla edk2 download for linux 2026-04-20 21:12:27 +04:00
karina 0c1585a169 wip: transfer to laptop 2026-04-20 20:51:47 +04:00
karina 141c5e76d1 build: now SwiftLSP correctly see bootinfo: 2026-04-20 19:29:57 +04:00
karina 9729486c99 docs: added README.md 2026-04-20 16:42:55 +04:00
hwachakarter 0ff79dc2b3 Merge pull request #4 from 0xKSor/feat/uart
feat: added UART support with a basic kprint in kernel
2026-04-20 21:35:39 +09:00
karina 8b1105f8e7 fix: added \n to string 2026-04-20 16:34:37 +04:00
sonya 350776d5d1 fix: added arc4random_buf stub
this fixes linking error on aarch64
also _seralPutchar was made public to prevent mangling
2026-04-20 21:30:23 +09:00
karina 635052c8dc feat: added UART support with a basic kprint in kernel
wip: DTB
2026-04-20 16:20:31 +04:00
karina ef9aa56d11 build: added just crun 2026-04-20 15:10:45 +04:00
karina 4020bf1b7a chore: update .gitignore 2026-04-20 14:56:29 +04:00
Karina aaa1af8e19 Merge pull request #2 from 0xKSor/wip/bridge
Added bridging header for swift
2026-04-20 14:54:14 +04:00
hwachakarter 1e2ec3f702 Merge pull request #3 from 0xKSor/wip/lsp-config
Added LSP file auto-generator
2026-04-20 18:37:44 +09:00
sonya e1b74cd156 Added LSP file auto-generator
CMake will auto generate compile-commands.json file to help LSP find
symbols. this file is gitignored and will be regenerated each build
nothing else was changed, should work on any system, but please test
2026-04-20 18:31:27 +09:00
Karina f9c2fa20f0 fix: swift toolchain path on linux 2026-04-20 11:49:12 +04:00
sonya f3819a5450 Added bridging header for swift
c structures are now exposed to swift using a bridging header.
it is possible to access bootinfo using the structure (as oppossed to doing bytesfifts blind)
tested on aarch64 apple.
please test on other systems
2026-04-20 16:33:41 +09:00
Karina d9110ddce9 Merge pull request #1 from 0xKSor/wip/swift
swift in kernel
2026-04-20 11:17:34 +04:00
karina ad0dcfc9a4 docs: minor changes in comments 2026-04-20 11:14:40 +04:00
sonya 02a99a01b0 added support for other platforms 2026-04-20 16:11:45 +09:00
sonya 2261985e7c wip swift in kernel 2026-04-20 15:51:40 +09:00
karina b33f63635b build: CMake toolchain for Kernel
build: moved CMake toolchain for Bootloader from Source folder to root of Bootloader
2026-04-20 09:38:27 +04:00
karina 1885f1ac8d git: added .DS_Store to gitignore 2026-04-20 08:33:22 +04:00
karina 1ee5dcbd0b feat: working bootloader and basic kernel (just dyes screen green) 2026-04-20 08:31:04 +04:00
karina 9b549d4184 fix: paths in justfile 2026-04-20 05:38:02 +04:00
karina c533478e76 working build of bootloader 2026-04-20 05:20:27 +04:00
Karina 67838d2702 doc: just default recipe is now just --list
also image > _image
2026-04-19 23:51:09 +04:00