80 Commits

Author SHA1 Message Date
Alex
5f320bcf25
Better address check 2022-11-11 04:41:37 +02:00
Alex
13ad74c1af
Kernel no longer crashes when trying to read symbols 2022-11-11 04:40:19 +02:00
Alex
77081b4e1e
Stability fixes (i hope); attempt to implement argc, argv, envp, auxv; Syscalls 2022-11-10 07:09:32 +02:00
Alex
6409dfdf0b
Kernel now boots on BIOS systems 2022-11-07 11:17:06 +02:00
Alex
2904ae14da
Updated lock 2022-11-07 06:12:42 +02:00
Alex
6025ef2e54
Fix for crash handler 2022-11-07 04:51:55 +02:00
Alex
5ead0d7f9b
Fixed usermode apps crashing 2022-11-07 01:43:12 +02:00
Alex
8d963bfd84
Disable SMEP and SMAP for now 2022-11-07 01:42:52 +02:00
Alex
664cea41a5
Added Schedule() 2022-11-06 06:04:34 +02:00
Alex
3d947c2a03
Added implementation of critical thread/process 2022-11-06 03:43:12 +02:00
Alex
954223cbf5
Fixed memory leak 2022-11-06 03:16:03 +02:00
Alex
73e889c7e5
Updated driver loader 2022-11-06 02:49:19 +02:00
Alex
c602ad8db3
Delete hook if the driver fails 2022-11-06 01:20:24 +02:00
Alex
7541f3c856
Interrupt driver stub 2022-11-06 01:19:57 +02:00
Alex
52ef1e3b3b
Updated memory mapping functions 2022-11-05 04:40:15 +02:00
Alex
9dbe40704d
If a wrong color is specified, set the color value to 0xFFFFFF 2022-11-05 04:25:07 +02:00
Alex
4af2b199f4
Perform CPU sleep when using Sleep() function 2022-11-04 20:52:38 +02:00
Alex
aa45396d5b
Updated memory initializator 2022-11-04 05:31:12 +02:00
Alex
0b7bbd20d6
Fixed issue when sometimes initializing drivers can crash the system 2022-11-04 05:30:04 +02:00
Alex
9bd37041a6
Fixed some issues on crash handler when an user process crashes 2022-11-04 05:29:10 +02:00
Alex
359c88150f
Updated memory initializator 2022-11-04 05:28:24 +02:00
Alex
0ccee08913
Added stub code for kernel API 2022-11-03 03:15:54 +02:00
Alex
83d5397584
Fixed compiler warnings 2022-11-02 17:12:56 +02:00
Alex
ca33e7b85b
Implemented partition detection 2022-11-02 04:14:06 +02:00
Alex
2650202bc5
Added IOCB function 2022-11-02 04:13:43 +02:00
Alex
b9c725c1db
Removed debug messages in Check() 2022-11-01 20:12:55 +02:00
Alex
971f64b958
Driver directory can be modified by config 2022-11-01 19:58:35 +02:00
Alex
89c173bb31
Check if the page is present when we trace frames 2022-11-01 19:58:08 +02:00
Alex
00cda98a62
Added Check() function 2022-11-01 19:57:15 +02:00
Alex
9b043d4b34
Disk drivers are now loading 2022-11-01 04:31:16 +02:00
Alex
97b2b354e5
Added support for multiple vendors on one driver 2022-11-01 03:59:59 +02:00
Alex
917e000f6c
Implemented driver support (bad but works) 2022-11-01 01:56:32 +02:00
Alex
99606bed00
Added Counter() function to CPU 2022-11-01 01:54:15 +02:00
Alex
f3cfc623d8
Show a number when printing a potential deadlock 2022-11-01 01:53:55 +02:00
Alex
59f4470fb4
Move stack tracing to it's own function 2022-11-01 01:52:57 +02:00
Alex
52f0879a72
Fixed compilation failing on aarch64 2022-10-28 09:07:40 +03:00
Alex
74a4685ba9
Clear new allocated memory 2022-10-28 08:49:52 +03:00
Alex
2f3608d864
strcmp() doesn't get it right 2022-10-28 07:46:38 +03:00
Alex
f2b80cd3a9
Updated CPU.cpp 2022-10-28 03:03:24 +03:00
Alex
33f95cb427
Update files 2022-10-27 03:24:08 +03:00
Alex
ce7997a6ea
Added random number generator 2022-10-27 03:05:34 +03:00
Alex
42dc78626a
Changed how lock works (now it's assembly spinlock) 2022-10-27 02:44:09 +03:00
Alex
581638c256
Update files 2022-10-26 21:55:31 +03:00
Alex
8308506ace
Update files 2022-10-23 02:18:29 +03:00
Alex
4f94d4cc6d
Updated tasking 2022-10-22 04:56:57 +03:00
Alex
11e6080fe1
Fixed "_ZnwmSt11align_val_t" compiler error 2022-10-22 04:00:42 +03:00
Alex
ebd0273a99
More tasking implementation 2022-10-21 05:31:50 +03:00
Alex
5d41d36bd8
Implemented SmartCriticalSection 2022-10-21 03:49:12 +03:00
Alex
42e35e7d83
Moved syscalls file 2022-10-20 05:15:20 +03:00
Alex
747c08708b
Changed SMP code and CPU sets a new stack 2022-10-20 05:04:45 +03:00