Commit Graph

  • d3a16469ad Revise PID and TID generation to align with standards EnderIce2 2024-03-02 00:51:06 +02:00
  • 525a102f20 Implement GetIdle function in Custom scheduler EnderIce2 2024-03-02 00:16:18 +02:00
  • df457e8097 Refactor task scheduler EnderIce2 2024-03-01 22:56:50 +02:00
  • 66ec562751 Add support for DEL key EnderIce2 2024-02-29 05:54:30 +02:00
  • c7360f4970 Implement blinking cursor and text modification functionality EnderIce2 2024-02-29 05:40:40 +02:00
  • a60ac0ca73 Fix KEY_SLASH character EnderIce2 2024-02-29 03:50:16 +02:00
  • 10aa3d31ec Add cursor blinking functionality EnderIce2 2024-02-29 02:18:20 +02:00
  • d3a22aa7b3 Add std::thread implementation EnderIce2 2024-02-29 02:18:16 +02:00
  • 574c753b77 Add GetPixel and DrawRectangle functions to Display class EnderIce2 2024-02-29 02:18:08 +02:00
  • 9925a9e9b4 Add experimental insert() function to string class EnderIce2 2024-02-29 01:12:23 +02:00
  • 2f1611fe87 Add dump command in kernel shell EnderIce2 2024-02-29 00:46:28 +02:00
  • fbb59f2187 Update lsacpi command to print table length EnderIce2 2024-02-29 00:46:04 +02:00
  • e02bcf8e0d Remove unnecessary newline character in cmd_lsacpi function EnderIce2 2024-02-29 00:29:05 +02:00
  • c967e94187 Update ACPI print format EnderIce2 2024-02-29 00:28:34 +02:00
  • 7a6483aea8 Refactor lsacpi command to print ACPI table information EnderIce2 2024-02-29 00:28:13 +02:00
  • 72ee2075ae Add "screen" command to panic UI EnderIce2 2024-02-29 00:05:59 +02:00
  • 455c8a82de Fix DisplayProcessScreen function to show ready threads, add note for hidden processes EnderIce2 2024-02-28 23:57:13 +02:00
  • 5fd8d3b3a5 Revamped kernel panic functions with significant improvements EnderIce2 2024-02-28 06:31:02 +02:00
  • ddad5ca38a Remove ELFSymbolTable from PCB EnderIce2 2024-02-28 06:11:31 +02:00
  • e74c5f7bab Do not map the framebuffer with user flag EnderIce2 2024-02-28 05:50:39 +02:00
  • ef542145f7 Update CPU prevention features EnderIce2 2024-02-28 05:50:12 +02:00
  • 7059cd5f5e Update CR register flags documentation EnderIce2 2024-02-28 05:47:33 +02:00
  • 1c59565553 Fix memory allocation exploit (driver mapped with user flag) EnderIce2 2024-02-28 05:35:10 +02:00
  • a49d4936e3 Fix cpuid 0x7 for AMD EnderIce2 2024-02-28 05:07:22 +02:00
  • f34f6f94c6 Change the IDT table to use interrupt gate EnderIce2 2024-02-28 04:48:05 +02:00
  • 6a25cc216a Invoke #DE in cmd_panic() EnderIce2 2024-02-28 04:08:44 +02:00
  • e75dbfc8ce Refactor kernel shell code EnderIce2 2024-02-27 16:18:50 +02:00
  • ae67df10ff Update color codes for different node types in ls command EnderIce2 2024-02-27 13:36:08 +02:00
  • 4397763e72 Update CreateIfNotExists function signature EnderIce2 2024-02-27 05:52:24 +02:00
  • a47a97da87 Refactor ls command EnderIce2 2024-02-26 20:48:56 +02:00
  • 6169edf1e8 Add minimum resolution check for display EnderIce2 2024-02-25 22:50:22 +02:00
  • 3eb25c8e14 Remove unnecessary calls to CPUID.Get() EnderIce2 2024-02-25 18:43:11 +02:00
  • 578b8f74da Refactor Timer::OnInterruptReceived method signature EnderIce2 2024-02-23 05:31:49 +02:00
  • fc4cc5d189 Add GetDefaultFont() method to Display class EnderIce2 2024-02-23 03:51:07 +02:00
  • e012e8b3c1 Add compiler check for __fennix__ EnderIce2 2024-02-22 18:44:36 +02:00
  • 8fd29ff0a9 Fix InterruptFrames for aarch64 EnderIce2 2024-02-20 18:07:02 +02:00
  • 495e75c649 Add IgnoreSpecialChars parameter to Print and PrintString functions EnderIce2 2024-02-19 01:42:29 +02:00
  • 5adc4151a6 Fix comment space EnderIce2 2024-02-16 20:55:56 +02:00
  • 65d1b9f58b Fix uninitialized variables EnderIce2 2024-02-16 20:55:39 +02:00
  • 69aeb5c36a Add PrintString() EnderIce2 2024-02-15 22:53:39 +02:00
  • 9ab246f8c4 Refactor ExceptionHandler EnderIce2 2024-02-15 22:10:04 +02:00
  • 1bc7c4b4dd Fix ExceptionHandlerStub to work with CPU::ExceptionFrame EnderIce2 2024-02-15 22:09:33 +02:00
  • 725f22cd43 Add ExceptionFrame structure EnderIce2 2024-02-15 22:08:11 +02:00
  • 06abcd6c79 Add CrashFont initialization EnderIce2 2024-02-10 07:09:15 +02:00
  • 174df62d85 Move font declarations to display.hpp EnderIce2 2024-02-10 07:09:11 +02:00
  • cfd4b8d6a5 Update display buffer handling EnderIce2 2024-02-10 06:56:26 +02:00
  • 5f80e40885 Remove on-screen task manager code EnderIce2 2024-02-10 05:58:21 +02:00
  • 25d17a8831 Add fill() function to std::algorithm EnderIce2 2024-02-10 05:41:42 +02:00
  • 3374eac741 Add resize(size_t, const T &) function to vector class EnderIce2 2024-02-10 05:17:03 +02:00
  • eba6bc07c1 Declare all Tamsyn font files to display.cpp EnderIce2 2024-02-10 04:45:34 +02:00
  • b31384fc55 Refactor display.hpp EnderIce2 2024-02-05 16:19:07 +02:00
  • b0575ba4f2 Rename "SafeFunction" macro to "NoSecurityAnalysis" EnderIce2 2024-02-04 04:31:30 +02:00
  • 11221b205a Refactor code to improve performance and readability EnderIce2 2024-02-04 04:29:17 +02:00
  • 69c61037ed Remove __naked attribute from Stop() function EnderIce2 2024-02-04 04:05:34 +02:00
  • bb946ea568 Fix CPU functions for aarch64 EnderIce2 2024-02-04 04:04:30 +02:00
  • f0ea4e3afb Use gradient for top bar EnderIce2 2024-02-04 03:47:45 +02:00
  • fc8027a377 Add additional general purpose registers to TrapFrame struct EnderIce2 2024-02-04 03:45:45 +02:00
  • e7c4a5758c Update CPU::TrapFrame in crash handler functions EnderIce2 2024-02-04 02:26:43 +02:00
  • d89f59a252 Implement file mapping functionality in linux_mmap() EnderIce2 2024-02-02 01:58:31 +02:00
  • 9538b8ef31 Refactor VirtualMemoryArea::Fork to use auto& EnderIce2 2024-02-02 01:53:36 +02:00
  • de220bf879 Refactor GetAllocatedPagesList and GetSharedRegions to return references EnderIce2 2024-02-02 01:51:39 +02:00
  • edd7e3bbc2 Update crash handler to include exception address and symbol in trace output EnderIce2 2024-02-01 22:46:58 +02:00
  • fa6779b8c7 Fix issue with reading ELF header EnderIce2 2024-02-01 20:31:49 +02:00
  • 053e167002 Add CheckRegion function EnderIce2 2024-02-01 16:27:10 +02:00
  • a0b98e8c57 Refactor ELFObject class and remove unused functions EnderIce2 2024-02-01 16:25:32 +02:00
  • 96daa43d38 Update kernel EnderIce2 2024-01-19 06:47:42 +02:00
  • fd15592608 Add missing license note EnderIce2 2023-10-27 14:24:12 +03:00
  • 877f91c80f Fix IsVirtualizedEnvironment() EnderIce2 2023-10-27 14:21:08 +03:00
  • 51ae83bcb2 Use /bin/utest instead of init for debugging EnderIce2 2023-10-20 01:42:56 +03:00
  • cfee4807c4 ISR 0x1 should have RING3 EnderIce2 2023-10-20 01:42:24 +03:00
  • da7e9d781f GetCurrentCPU reporting wrong ID EnderIce2 2023-10-20 01:42:02 +03:00
  • e0bd4cee3c Fix unqualified call to 'std::move' EnderIce2 2023-10-17 02:21:52 +03:00
  • 54a47ad3a5 Update std headers EnderIce2 2023-10-11 13:00:15 +03:00
  • 56358280a7 Update std headers EnderIce2 2023-10-10 06:09:17 +03:00
  • bd04d2bf2f Fix elf binaries were loaded wrongly Alex 2023-10-09 03:59:24 +03:00
  • 889e1522a3 Restructured and rewritten entire codebase Alex 2023-10-09 01:16:24 +03:00
  • 446a571018 Tasking is now working under 32-bit Alex 2023-09-07 04:22:34 +03:00
  • 9e751dcc41 First parse the params Alex 2023-09-07 03:05:44 +03:00
  • 95aefb13db Do not enable cr4.FSGSBASE Alex 2023-09-07 03:05:29 +03:00
  • fcf1e7528e Search for SMBIOS & RSDP if the bootloader doesn't provide them Alex 2023-09-07 02:58:20 +03:00
  • a452b9acd1 Add support for legacy Multiboot aka Multiboot1 Alex 2023-09-06 22:43:33 +03:00
  • 6db0df6afe Simplify Display::Print Alex 2023-09-04 15:11:01 +03:00
  • 6094c966b2 Show info about the framebuffer on screen Alex 2023-09-04 15:10:43 +03:00
  • 840b49abd0 Initialize CPU feature first before doing anything Alex 2023-09-03 19:24:28 +03:00
  • c5c76d3f9d Various QoL changes Alex 2023-09-03 19:24:14 +03:00
  • 4abf69f597 Fix x32 compilation Alex 2023-09-02 19:47:28 +03:00
  • 0840c046b9 Half working elf loader Alex 2023-09-02 19:46:10 +03:00
  • 20227aabe5 Hide repetitive debug messages Alex 2023-09-02 19:45:53 +03:00
  • ac2bc8f6d0 Fully copy function names Alex 2023-09-02 19:45:18 +03:00
  • 6d95cd5261 Rework for APIC & added support for x2APIC Alex 2023-08-31 01:07:55 +03:00
  • 612e8cc726 Test code for tasking Alex 2023-08-31 00:56:51 +03:00
  • f8487698dd Fix wrong char in sc_ascii_high Alex 2023-08-30 05:42:14 +03:00
  • 622214003f Update GDT & IDT structures Alex 2023-08-25 02:53:35 +03:00
  • 05610c7e7a Fix compiler issues in 32-bit Alex 2023-08-24 04:45:13 +03:00
  • 83bd843e2b Move ACPI and DSDT files to Core directory Alex 2023-08-24 04:29:39 +03:00
  • b06cc8da26 Ignore unused parameters warning Alex 2023-08-24 04:28:42 +03:00
  • aa108c08f6 Rework IDT Alex 2023-08-24 03:14:52 +03:00
  • e689538542 Show available LPT and COM ports Alex 2023-08-24 03:13:54 +03:00
  • 7842b6310d Fix broken 32-bit kernel Alex 2023-08-24 03:13:36 +03:00
  • bef0897442 Fix 32-bit compilation Alex 2023-08-23 16:59:21 +03:00