Commit Graph

  • a56f633709 Improved symbol table + every process have one allocated Alex 2022-12-10 06:01:01 +02:00
  • 6d58f04f1f TODO Alex 2022-12-10 05:58:52 +02:00
  • 224905ac06 Fixed vmm mapped framebuffer to the wrong address Alex 2022-12-09 16:26:55 +02:00
  • 81371b14b0 Implemented strtoul, isdelim and strtok Alex 2022-12-08 19:17:13 +02:00
  • de5a719d32 Fixed bug Alex 2022-12-08 19:16:40 +02:00
  • 2b669689b3 Implemented strtoul, isdelim and strtok Alex 2022-12-08 19:16:19 +02:00
  • eea4a9eae1 Added dump command Alex 2022-12-08 19:15:34 +02:00
  • 1317dc53fa Updated argv and envp in tasking Alex 2022-12-08 10:35:05 +02:00
  • eab80c215c Fixed wrong stack pointer & new tss command for crash screen Alex 2022-12-07 04:15:20 +02:00
  • b9f8e976f6 Merge branch 'main' of https://github.com/Fennix-Project/Kernel Alex 2022-12-06 09:33:35 +02:00
  • 1b591e7e1d Typo Alex 2022-12-06 09:32:16 +02:00
  • 4a536ed8b3 Added crX command in crash handler Alex 2022-12-06 09:31:16 +02:00
  • c47ffb3256 Revert "Typo" Alex 2022-12-06 09:30:48 +02:00
  • 7c079633f6 Typo Alex 2022-12-06 09:30:15 +02:00
  • f86777a856 KPT global variable Alex 2022-12-06 09:30:09 +02:00
  • da12880df2 Delete codeql.yml Alex 2022-12-06 02:40:21 +00:00
  • 45621ef1f8 Create codacy.yml Alex 2022-12-06 02:40:08 +00:00
  • a95ffbd30b Create codeql.yml Alex 2022-12-06 02:36:35 +00:00
  • 3454c9692f Add flags to all page directories (as Intel 317080-003 doc says) Alex 2022-12-06 01:27:00 +02:00
  • 4188a465d2 Map address 0x0 to an empty page Alex 2022-12-06 01:26:17 +02:00
  • 8288de53a9 Print more info Alex 2022-12-06 01:25:03 +02:00
  • 90fc58f5fb GetAddress() should be bit shifted Alex 2022-12-06 01:24:49 +02:00
  • 24382f80a1 How did I made this stupid mistake? Alex 2022-12-06 01:24:26 +02:00
  • 632852c9e4 Small fixes Alex 2022-12-06 00:14:37 +02:00
  • 1bb97f19fd Apply code from memory-test branch Alex 2022-12-05 23:20:06 +02:00
  • 9a22cfe02e Now works memory-test Alex 2022-12-05 20:46:27 +02:00
  • 7bff9f260e oopsie Alex 2022-12-05 20:43:10 +02:00
  • 0116fd3b38 Oops, SetFlag() should not clear the entire data Alex 2022-12-05 06:02:25 +02:00
  • a32ca16d2b Attempt to rewrite the VMM - currently not working Alex 2022-12-05 06:00:45 +02:00
  • 2d1c42fbcd Memory related code optimization tasking-test Alex 2022-12-05 00:48:41 +02:00
  • f34278891b Added tlb & bitmap commands Alex 2022-12-05 00:47:15 +02:00
  • 58dfc9c407 Enable Global Pages Alex 2022-12-05 00:43:59 +02:00
  • a47f998764 isalpha, isupper & strtol implementation Alex 2022-12-05 00:43:39 +02:00
  • 7487204417 Rust support Alex 2022-12-01 06:13:31 +02:00
  • c9c248ccc7 Removed unused extern variable declaration Alex 2022-12-01 06:13:10 +02:00
  • 0289054900 Changed a lot of files. Summary: profiler support; "SafeFunction"; UnlockDeadLock kernel config; Code optimization & more Alex 2022-11-28 08:25:37 +02:00
  • 2fba834d41 Forgot to resume the stopped process Alex 2022-11-21 16:19:51 +02:00
  • eaaf8427dc Stack guard implementation Alex 2022-11-21 03:20:13 +02:00
  • 1afe255fed Hope now scheduler won't crash at IPC Service Alex 2022-11-20 16:13:49 +02:00
  • f907ca907d Updated lock Alex 2022-11-20 16:13:19 +02:00
  • deee2ac8e0 Removed debugging code Alex 2022-11-20 10:52:05 +02:00
  • 61e0c7b5ba Oops! Alex 2022-11-20 10:48:17 +02:00
  • 23dba51c01 SMBIOS support Alex 2022-11-19 11:32:46 +02:00
  • eb980a95d9 Get SMBIOS from bootloader Alex 2022-11-19 09:54:34 +02:00
  • e535a5e0c6 Oh my god how stupid I can be sometimes Alex 2022-11-19 09:54:08 +02:00
  • fa921fe626 Update files Alex 2022-11-18 06:46:43 +02:00
  • 1a6665fd67 Not useful Alex 2022-11-18 05:25:33 +02:00
  • 03d77c9774 IPC implementation Alex 2022-11-18 05:09:25 +02:00
  • 666991265f ‘noreturn’ function does return Alex 2022-11-18 04:22:50 +02:00
  • 35c4c3bbd5 Check if CPU 0 is active too Alex 2022-11-17 19:10:21 +02:00
  • 13f93b8e21 Stop tasking when stack guard fails Alex 2022-11-17 19:09:43 +02:00
  • a9a5b1f64c More work on cxxabi Alex 2022-11-17 17:44:44 +02:00
  • 3f2cc6e3ff Updated ubsan Alex 2022-11-17 04:20:23 +02:00
  • 95de1f4a3e Updated cxxabi Alex 2022-11-17 04:20:11 +02:00
  • 2571c4f539 Added ubsan Alex 2022-11-17 03:33:18 +02:00
  • 11641b1ff3 Better(?) stack guard Alex 2022-11-17 03:32:38 +02:00
  • 9fdad650b9 Trying to fix user stack Alex 2022-11-16 16:04:09 +02:00
  • 4d874a3e81 Moved backspace() & append() Alex 2022-11-16 16:03:09 +02:00
  • 786a8432c0 Show cpu data info on details screen Alex 2022-11-16 16:02:37 +02:00
  • 01e892a8be Get cpu data too Alex 2022-11-16 16:02:17 +02:00
  • 89f5d29135 Do not stop the scheduler at the beginning of the crash handler Alex 2022-11-15 15:22:18 +02:00
  • c2628019b7 Syscalls working as expected Alex 2022-11-15 15:09:52 +02:00
  • 5dd496a73f TODO Alex 2022-11-15 01:50:11 +02:00
  • 3542dfca8b Code fixes and stability Alex 2022-11-15 01:50:07 +02:00
  • 82bdd4ec8b Better lock Alex 2022-11-15 01:48:33 +02:00
  • 62ded83a9b Typo Alex 2022-11-14 16:12:35 +02:00
  • 6d11b62fd8 Forgot vs settings too (ノ_<。) Alex 2022-11-14 14:55:45 +02:00
  • 21152fad1e Forgot to remove -w flag Alex 2022-11-14 14:54:42 +02:00
  • cabdc5263e Kernel now compiles on x32 Alex 2022-11-14 14:54:18 +02:00
  • 042bce48a0 Kernel & User time stub Alex 2022-11-14 07:42:37 +02:00
  • 6a05343e51 Moved vscode workspace file Alex 2022-11-14 07:42:11 +02:00
  • 04f1372422 Debugging is now easier Alex 2022-11-11 19:40:40 +02:00
  • 3112d51168 Few improvements for crash screen Alex 2022-11-11 05:02:03 +02:00
  • dc5b6498f9 Improved crash screen Alex 2022-11-11 04:42:28 +02:00
  • ec91346acd Added GetBuffer() Alex 2022-11-11 04:41:51 +02:00
  • 5f320bcf25 Better address check Alex 2022-11-11 04:41:37 +02:00
  • 08ab104eb1 Runtime stuff Alex 2022-11-11 04:41:12 +02:00
  • 77b24c45ec Forgot initializator Alex 2022-11-11 04:40:53 +02:00
  • 13ad74c1af Kernel no longer crashes when trying to read symbols Alex 2022-11-11 04:40:19 +02:00
  • 77081b4e1e Stability fixes (i hope); attempt to implement argc, argv, envp, auxv; Syscalls Alex 2022-11-10 07:09:32 +02:00
  • 40b1da9dd1 Syscalls didn't worked because I'm dumb... Alex 2022-11-08 22:01:39 +02:00
  • 3e5c2bcacd If empty, set default Alex 2022-11-07 11:27:35 +02:00
  • 6409dfdf0b Kernel now boots on BIOS systems Alex 2022-11-07 11:17:06 +02:00
  • b60ec62bde Update file loading Alex 2022-11-07 08:34:22 +02:00
  • 2bd8e8d948 cld Alex 2022-11-07 06:14:28 +02:00
  • 31fa93ab96 TODO: Fix multicore tasking deadlock Alex 2022-11-07 06:14:16 +02:00
  • 3c4d67fa48 Do not trace icr registers Alex 2022-11-07 06:13:23 +02:00
  • 2904ae14da Updated lock Alex 2022-11-07 06:12:42 +02:00
  • 6025ef2e54 Fix for crash handler Alex 2022-11-07 04:51:55 +02:00
  • 6ce03ff0ed Update KThread.cpp Alex 2022-11-07 03:16:43 +02:00
  • 0ee2230ca9 Fixed compiler warnings Alex 2022-11-07 03:16:11 +02:00
  • 5ead0d7f9b Fixed usermode apps crashing Alex 2022-11-07 01:43:12 +02:00
  • 8d963bfd84 Disable SMEP and SMAP for now Alex 2022-11-07 01:42:52 +02:00
  • 2ddfec2130 Optimization Alex 2022-11-07 01:42:32 +02:00
  • 2eb7e82a3e Loaded image should have RW flag Alex 2022-11-07 01:42:14 +02:00
  • 5624b82b0f Rewrite tss Alex 2022-11-07 01:41:47 +02:00
  • 664cea41a5 Added Schedule() Alex 2022-11-06 06:04:34 +02:00
  • 971f4b2b27 SetKernelStack should have no_stack_protector attribute Alex 2022-11-06 05:04:57 +02:00
  • b82560e5d4 Removed limine.h and use one inside tools/limine Alex 2022-11-06 05:02:15 +02:00
  • 416e290c51 Updated GDT & IDT Alex 2022-11-06 04:55:12 +02:00