92 Commits

Author SHA1 Message Date
Alex
8898791257
Update kernel code 2023-08-22 06:21:17 +03:00
Alex
2c51e4432f
Update kernel 2023-08-06 04:53:14 +03:00
Alex
85c0de688d
Fix sleep syscall 2023-06-11 01:36:39 +03:00
Alex
41db477173
Update kernel 2023-06-10 13:11:25 +03:00
Alex
d527121883
Add implementation for GDT & IDT on x32 and QoL fixes 2023-05-17 03:28:57 +03:00
Alex
816e5461c9
Fix type sizes 2023-05-13 07:40:07 +03:00
Alex
c99dcc113d
Check for ACPI pointer in x64 too 2023-05-12 05:59:35 +03:00
Alex
149d8ba790
Make kernel to boot in x32 2023-05-11 18:34:21 +03:00
Alex
f1dc3868ca
Add support for multiboot2 2023-05-10 21:50:11 +03:00
Alex
198742526c
Remove unnecessary code 2023-05-08 05:32:44 +03:00
Alex
c9e2d99570
Add checks for invalid addresses 2023-05-08 05:27:16 +03:00
Alex
404be92d43
Rewrite the linker script 2023-05-08 05:15:56 +03:00
Alex
dd232a3721
Fix compiler warnings 2023-05-05 19:39:46 +03:00
Alex
50a0857524
Implement file seek 2023-05-05 19:19:05 +03:00
Alex
61aea6aa8d
fork() stub and QoL improvements 2023-05-03 06:37:39 +03:00
Alex
52f506e882
Remove multiboot2 boot code 2023-04-27 05:06:07 +03:00
Alex
c1eaabf97b
Bug fixes 2023-04-25 05:14:12 +03:00
Alex
fcbb298077
Fix compiler warnings 2023-04-23 07:02:24 +03:00
Alex
dc6fd148fc
Reserve more pages for SMP trampoline 2023-04-23 06:28:12 +03:00
Alex
f2eab6c64f
Fix elf loading 2023-04-21 17:47:09 +03:00
Alex
ecc19f4df0
Reserve all pages and then unreserve available pages 2023-04-19 00:50:09 +03:00
Alex
b4dbf2c281
QoL and bug fixes 2023-04-10 03:11:46 +03:00
Alex
7fa3e91a53
Optimize memory mapping 2023-04-07 05:12:48 +03:00
Alex
540152a339
Add support for 2MB and 1GB map 2023-04-07 01:39:11 +03:00
Alex
9b84d0147d
Add 2MB and 1GB PAGE_SIZE macro 2023-04-06 18:17:56 +03:00
Alex
b8186bb3d9
Make rsp to be at physical address 2023-04-04 21:08:45 +03:00
Alex
25256d81a8
Added license headers to all project files 2023-04-04 02:19:05 +03:00
Alex
eae6006d25
Add Virtual::GetPhysical() 2023-03-31 17:30:33 +03:00
Alex
678744f65d
Fix kernel mapping 2023-03-27 20:30:19 +03:00
Alex
a09790e4f2
Test TO_PAGES and FROM_PAGES macros 2023-03-27 02:49:56 +03:00
Alex
7218575b48
Rename heap allocation function 2023-03-25 12:02:01 +02:00
Alex
9ce301907a
QoL improvements 2023-03-24 16:22:42 +02:00
Alex
8b082ac98a
Map kernel file too 2023-03-23 23:26:18 +02:00
Alex
c56bc2c4d7
SwapPage should be after loop 2023-03-23 23:23:47 +02:00
Alex
6a7e940e80
Show address in error message 2023-03-23 23:23:02 +02:00
Alex
5fd8e8f152
Specify the invalid address 2023-03-20 20:30:13 +02:00
Alex
e008796515
Add warn message when trying to free an already freed page 2023-03-19 23:57:17 +02:00
Alex
feb1af5984
Update external memory tracker logging 2023-03-19 23:56:25 +02:00
Alex
6a492c6b07
Update external memory tracker messages 2023-03-16 17:20:12 +02:00
Alex
5ed0389ad1
Add tracker to paging allocation 2023-03-15 04:28:22 +02:00
Alex
f54b46149d
Update debugging code 2023-03-14 01:41:47 +02:00
Alex
3738e9b018
Small optimization 2023-03-12 04:27:41 +02:00
Alex
a101277991
Added memory tracker to serial port 2023-03-10 21:16:19 +02:00
Alex
8c87037069
Added Xalloc_StopOnFail 2023-03-09 06:42:08 +02:00
Alex
69518a172c
Improved log 2023-03-09 06:41:46 +02:00
Alex
5c91f23527
x32 is now compiling 2023-03-04 21:17:19 +02:00
Alex
aeb175f03b
Added memory block checks 2023-03-03 16:14:06 +02:00
Alex
392ebc9be2
Renamed "__no_instrument_function" 2023-02-27 22:19:40 +02:00
Alex
4519204580
Reimplemented Xalloc from scratch 2023-02-24 10:19:55 +02:00
Alex
419b5bee0d
Replaced "__sync_synchronize" with "__sync" 2023-02-18 04:13:49 +02:00