Bananymous
|
999eb53364
|
Kernel: Release debug lock if its locked during kernel panic
Also kernel panic now prints if it had lock
|
2024-09-18 00:56:02 +03:00 |
Bananymous
|
318ce5dec8
|
All: Fix a lot of compiler warnings from header files
While reworking build system, header files started to report warnings.
|
2024-06-18 23:02:10 +03:00 |
Bananymous
|
9c36d7c338
|
BAN/Kernel: Rework assertion/panic system
BAN/Assert.h does not need any includes meaning it can be included
anywhere without problems.
|
2024-03-04 11:41:54 +02:00 |
Bananymous
|
dfe5a2d665
|
All: Cleanup all files
Add newline to end of files and remove whitespace from end of lines
|
2024-01-24 15:53:38 +02:00 |
Bananymous
|
3f638f125e
|
Kernel: panic takes arguments as rvalue references
|
2023-10-30 16:22:02 +02:00 |
Bananymous
|
295a27f16a
|
Kernel: Panic wont print stacktrace if it has already paniced
This prevents stack trace dump to panic and loop
|
2023-04-18 10:18:15 +03:00 |
Bananymous
|
ba8c4dbc7f
|
Kernel: panic now disables interrupts as the first thing
|
2023-03-01 21:21:56 +02:00 |
Bananymous
|
117d1de038
|
Kernel: panic does not need to include <kernel/kprint.h>
This allows us to not have kprint available literally everywhere
|
2023-02-02 15:51:15 +02:00 |
Bananymous
|
9b8de5025a
|
All: rename every function from UpperCamelCase to snake_case
This was a mess since I didn't know which to use but now I decided
to go with snake_case :)
|
2023-02-01 21:05:44 +02:00 |
Bananymous
|
aa0757e135
|
Kernel: Move dump_stacktrace from panic -> debug
|
2023-01-26 02:57:14 +02:00 |
Bananymous
|
c0bc002ac6
|
Kernel: Move debug printing to its own file
It didn't make sense that dprint was defined in Serial.h.
We also now dump dprint to tty if there is no serial and tty is initialized
|
2023-01-25 22:51:42 +02:00 |
Bananymous
|
b50bb03ed4
|
Kernel: Panic now halts machine even if we get spurious irqs
|
2023-01-23 18:25:48 +02:00 |
Bananymous
|
bb051604a1
|
Kernel: Move dump_stacktrace() to arch folder
It uses mov instruction which has different register on x86/x86-64
|
2023-01-21 22:16:31 +02:00 |
Bananymous
|
b9a4530e54
|
Kernel: Kernel::Panic now dumps stacktrace to com1
|
2023-01-16 21:50:50 +02:00 |
Bananymous
|
e307db47eb
|
Kernel: Kernel::Panic() will now always print to serial output
|
2023-01-16 15:44:27 +02:00 |
Bananymous
|
416a41745f
|
Kernel: Kernel::Panic now checks that TTY is initialized instead of VESA
|
2023-01-13 15:04:06 +02:00 |
Bananymous
|
efd8638a96
|
Kernel: Improve kernel panic message and rename it 'panic'->'Panic'
|
2023-01-09 21:57:03 +02:00 |