Commit Graph

  • 4912f9184f Fixed printing in test code Alex 2022-10-25 15:23:56 +03:00
  • d9973a01b5 Added GetBufferCursor Alex 2022-10-25 15:23:45 +03:00
  • 589b3f9d4b Multitasking test code Alex 2022-10-25 05:05:10 +03:00
  • 50ebd3fbd1 Added SetBufferCursor Alex 2022-10-25 04:56:05 +03:00
  • e11b49b566 Commented debug code Alex 2022-10-25 04:29:03 +03:00
  • 9eaefb6d6c divide ticks in OneShot Alex 2022-10-25 04:28:45 +03:00
  • af3193d782 Fixed tasking Alex 2022-10-25 04:10:57 +03:00
  • 0beb57eae8 Fix for APIC Alex 2022-10-25 02:51:53 +03:00
  • b66e8fb4f8 Split IOAPICRedirectEntry Alex 2022-10-25 02:43:47 +03:00
  • 7b324f020f Renamed enum Alex 2022-10-25 02:42:30 +03:00
  • c69496cac1 Update APIC according to Intel manual (2.4.3 Interrupt Command Register) Alex 2022-10-25 02:42:12 +03:00
  • 62bd906e61 Added IOAPIC redirect structure Alex 2022-10-25 02:31:27 +03:00
  • 31e26040da Added InterruptCommandRegisterHigh for future use Alex 2022-10-25 02:25:56 +03:00
  • 6af8c9c4ee Improved APIC (more human readable) Alex 2022-10-25 02:24:37 +03:00
  • 7918999799 Fixed timer calibration Alex 2022-10-23 03:47:38 +03:00
  • 782b3fa78a Moved IOAPICVersion Alex 2022-10-23 03:17:57 +03:00
  • eb65bd1896 Added APIC_BASE structure Alex 2022-10-23 03:10:43 +03:00
  • fd154bc547 Added LVTTimer union structure Alex 2022-10-23 02:48:42 +03:00
  • 21478ca5b8 Added memory barriers Alex 2022-10-23 02:24:07 +03:00
  • 4e45305099 no_stack_protector attribute to assembly functions Alex 2022-10-23 02:23:58 +03:00
  • 8308506ace Update files Alex 2022-10-23 02:18:29 +03:00
  • 84b9f6bdf0 KernelShutdownThread stub Alex 2022-10-22 19:05:39 +03:00
  • 9d4fb06f4c Update Task.cpp Alex 2022-10-22 05:01:35 +03:00
  • 4f94d4cc6d Updated tasking Alex 2022-10-22 04:56:57 +03:00
  • 11e6080fe1 Fixed "_ZnwmSt11align_val_t" compiler error Alex 2022-10-22 04:00:42 +03:00
  • ebd0273a99 More tasking implementation Alex 2022-10-21 05:31:50 +03:00
  • 7477c55ccd Fixed compilation issues on aarch64 Alex 2022-10-21 03:59:39 +03:00
  • 9c3c07116c Fixed compilation issues on x32 Alex 2022-10-21 03:59:01 +03:00
  • a33ec0749a Fixed compilation issues Alex 2022-10-21 03:51:39 +03:00
  • 3de8e1c932 More tasking stubs Alex 2022-10-21 03:49:56 +03:00
  • 8b27051f48 Added CurrentProcess & CurrentThread to the CPU data Alex 2022-10-21 03:49:46 +03:00
  • 5d41d36bd8 Implemented SmartCriticalSection Alex 2022-10-21 03:49:12 +03:00
  • 2f7b871aa0 More tasking stub Alex 2022-10-20 05:32:15 +03:00
  • 51c096c743 Stub tasking files Alex 2022-10-20 05:15:25 +03:00
  • 42e35e7d83 Moved syscalls file Alex 2022-10-20 05:15:20 +03:00
  • 5d17c5a411 Better printing on SMP status Alex 2022-10-20 05:07:53 +03:00
  • 747c08708b Changed SMP code and CPU sets a new stack Alex 2022-10-20 05:04:45 +03:00
  • fa92676d9f Changed SMP code Alex 2022-10-20 05:04:15 +03:00
  • 7f47b2a3a4 Update files Alex 2022-10-20 05:03:31 +03:00
  • cae9572cc1 More work on system calls Alex 2022-10-20 05:02:49 +03:00
  • 3dc83ad90f Fix SMP Alex 2022-10-20 05:02:09 +03:00
  • 09d6988853 Enable SSE compiling Alex 2022-10-20 01:07:51 +03:00
  • ea61229b18 Added better kernel arguments reading Alex 2022-10-20 01:07:39 +03:00
  • 8673a73ee4 Added cargs lib Alex 2022-10-20 01:06:58 +03:00
  • 7750dd777e Replaced string to convert Alex 2022-10-20 01:06:20 +03:00
  • a6d5e08e3b Moved arm64Entry Alex 2022-10-19 18:40:17 +03:00
  • 35e9532c24 Update files Alex 2022-10-19 18:39:02 +03:00
  • cb349ae620 x32 still not working (TODO: do 1:1 page mapping, except for kernel) Alex 2022-10-18 21:16:12 +03:00
  • 348aa69dcb 32bit booting working Alex 2022-10-18 00:19:44 +03:00
  • 3df98c7c8e 32bit boot using multiboot2 Alex 2022-10-17 23:52:55 +03:00
  • 961d7d7270 Change printing colors Alex 2022-10-17 20:47:16 +03:00
  • e0d4e38b99 APIC should be fixed Alex 2022-10-17 19:17:31 +03:00
  • 94dfeb7fd5 Do not log the debugger output Alex 2022-10-17 19:16:42 +03:00
  • 4ca5db1fee APIC interrupts working Alex 2022-10-17 18:11:39 +03:00
  • d5447c288e Optimize CPU functions Alex 2022-10-17 18:09:21 +03:00
  • efaaab590f Update Doxygen Alex 2022-10-17 05:18:25 +03:00
  • 83082120b4 Update doxygen Alex 2022-10-17 04:43:33 +03:00
  • 7f70cafcf6 Comparison of narrow type with wide type in loop condition Alex 2022-10-17 04:22:27 +03:00
  • e4dcfdad0d Create flawfinder.yml Alex 2022-10-17 01:17:29 +00:00
  • 83c8acce06 Fixed compiling for x32 & arm64 Alex 2022-10-17 04:09:54 +03:00
  • c944f57a3b APIC implementation (not working as expected) Alex 2022-10-17 04:05:44 +03:00
  • c5b4666b50 Implemented PIC (untested code) Alex 2022-10-17 01:43:00 +03:00
  • 154ad1b2a9 Fixes for x32 Alex 2022-10-17 00:26:50 +03:00
  • efc6faf619 Fixed interrupt handler manager Alex 2022-10-17 00:18:25 +03:00
  • a14ac6f351 Do not print to UART directly Alex 2022-10-16 23:39:36 +03:00
  • f8b77735d8 Small fixes for crash handler Alex 2022-10-16 23:36:44 +03:00
  • d35b4de246 added no_stack_protector attribute to functions Alex 2022-10-16 21:25:11 +03:00
  • 5f03d287d3 forgot "if (WriteToUART)" Alex 2022-10-16 21:14:38 +03:00
  • b9b5b57929 Removed unused code Alex 2022-10-16 21:01:24 +03:00
  • 31f83fe0f7 Fix for display uart printing colors Alex 2022-10-16 20:58:35 +03:00
  • b8c5c15a47 implemented interrupts handler & stub crash screen Alex 2022-10-16 20:53:57 +03:00
  • 04757bd11c vscode: do not include system include Alex 2022-10-16 20:53:00 +03:00
  • d506c4e3c1 Update comment Alex 2022-10-15 15:34:26 +03:00
  • f7ea052a51 Moved Initialization code Alex 2022-10-15 15:31:09 +03:00
  • 004fa99590 Fixed SMP core detection Alex 2022-10-15 15:09:26 +03:00
  • 6256ab5a4f Workaround for VirtualBox Alex 2022-10-15 14:46:45 +03:00
  • e477618116 Update binfo.h Alex 2022-10-13 23:17:36 +03:00
  • 398d889c74 Multiboot2Initializator stub Alex 2022-10-13 09:32:26 +03:00
  • 8f108466fa Added "Loading..." text at boot Alex 2022-10-13 07:35:59 +03:00
  • 3620ad914d Updated kernel entry names Alex 2022-10-13 06:43:50 +03:00
  • b96b09a8b5 kernel boots with multiboot2 Alex 2022-10-13 06:43:12 +03:00
  • d5d5478d4d Update HPETHeader Alex 2022-10-13 06:31:59 +03:00
  • 7b5758d950 Fixed "unknown pseudo-op: `.loop'" Alex 2022-10-12 04:39:54 +03:00
  • aae1f22458 Fixing SMP stub for x32 and arm64 Alex 2022-10-12 04:34:56 +03:00
  • a2da69d777 Added syscalls stub Alex 2022-10-12 04:34:37 +03:00
  • 127476ac64 Added SMP support Alex 2022-10-12 03:55:58 +03:00
  • 703de2c284 Enable CPU features like SSE Alex 2022-10-12 02:29:30 +03:00
  • d4c385c128 Added CPU vendors and signatures and read/write CR* Alex 2022-10-12 02:28:47 +03:00
  • 44e707bf11 Fixed cpu info Alex 2022-10-12 02:27:42 +03:00
  • 11fba7bd68 Fixed .asm file not being able to be linked Alex 2022-10-12 00:06:07 +03:00
  • f70e4b747b Compile fix Alex 2022-10-11 02:54:27 +03:00
  • aaebb17788 Forgot _kernel_start Alex 2022-10-11 02:52:55 +03:00
  • c95ccdb089 TODO: Trampoline can't be compiled. Alex 2022-10-11 02:48:12 +03:00
  • d5c496ea14 Compile fix Alex 2022-10-11 02:43:54 +03:00
  • ad9817a2db Added APIC & SMP stub Alex 2022-10-11 02:43:23 +03:00
  • f2f26c70a3 Update LICENSE Alex 2022-10-11 02:40:47 +03:00
  • ccd2c47beb Added Kprint in kernel.h Alex 2022-10-11 00:59:11 +03:00
  • 9c00c5ec4b Color support Alex 2022-10-11 00:46:51 +03:00
  • f7e316bdcb Added more PCI descriptors Alex 2022-10-11 00:07:33 +03:00
  • 77050b83e5 Trace PCI devices on kernel framebuffer Alex 2022-10-11 00:04:04 +03:00