Stefan Lankes
|
d406066fc9
|
replace C by Rust code to intialize the GDT
|
2017-08-06 23:23:19 +02:00 |
|
Stefan Lankes
|
bd3113be0b
|
initialize APIC after the intialization of IDT & GDT
- fix problems with Qemu
|
2017-08-06 23:23:12 +02:00 |
|
Stefan Lankes
|
1603f9e0e2
|
remove obsolete global variable "kernel_stack"
|
2017-08-06 23:23:12 +02:00 |
|
Stefan Lankes
|
f06de2044b
|
use unsigned operation instead of signed
|
2017-08-06 23:23:11 +02:00 |
|
Stefan Lankes
|
029256c2ef
|
add option to disable mwait support
|
2017-08-06 23:23:11 +02:00 |
|
Stefan Lankes
|
12306ee73b
|
add address of the CMCI register
|
2017-08-06 23:23:11 +02:00 |
|
Stefan Lankes
|
079da6afc3
|
remove mwait support to avoid priority inversion
|
2017-08-06 23:23:11 +02:00 |
|
Stefan Lankes
|
1fafc12d76
|
increasing the readability
|
2017-08-06 23:23:11 +02:00 |
|
Stefan Lankes
|
247db351bf
|
add info message if MCE is available
|
2017-08-06 23:23:10 +02:00 |
|
Stefan Lankes
|
9fe61a30db
|
enable support of machine check handling
|
2017-08-06 23:23:10 +02:00 |
|
Stefan Lankes
|
a992690237
|
determine the current LVT level before checking the level
|
2017-08-06 23:23:10 +02:00 |
|
Stefan Lankes
|
5edcde3cd4
|
check supportet LVT level before disabling LVT_TSR & LVT_PMV
|
2017-08-06 23:23:10 +02:00 |
|
Stefan Lankes
|
4dd809f0dc
|
remove typo (disable timer instead of thermal interrupt)
|
2017-08-06 23:23:10 +02:00 |
|
Stefan Lankes
|
c898bf266a
|
increasing the readability
|
2017-08-06 23:23:09 +02:00 |
|
Stefan Lankes
|
30fef14454
|
remove obsolete irq handler
|
2017-08-06 23:23:09 +02:00 |
|
Stefan Lankes
|
27d4401372
|
avoid memory access by preloading image_size into r11
|
2017-08-06 23:23:09 +02:00 |
|
Stefan Lankes
|
3bdcd74d03
|
remove stupid typo
|
2017-08-06 23:23:09 +02:00 |
|
Stefan Lankes
|
3be3ef1f31
|
remove typo
|
2017-08-06 23:23:08 +02:00 |
|
Stefan Lankes
|
1b182b089a
|
add flag to be sure that the linker creates a static binary
|
2017-08-06 23:23:08 +02:00 |
|
Stefan Lankes
|
437f445ed8
|
fix typos, fix meaing of PAGE_CEIL and PAGE_FLOOR
|
2017-07-15 16:24:08 +02:00 |
|
Stefan Lankes
|
f274098382
|
increasing the readability
|
2017-06-16 01:33:46 +02:00 |
|
Stefan Lankes
|
b18263192f
|
set cmdline to 0 if a valid cmdline isn't available
|
2017-06-15 15:43:19 +02:00 |
|
Stefan Lankes
|
354d77a6bd
|
add pseudo handler for debugging
|
2017-06-15 13:11:20 +02:00 |
|
Stefan Lankes
|
90083dcb00
|
reuse irq 121 to wakeup a core
|
2017-06-15 12:57:58 +02:00 |
|
Stefan Lankes
|
e4d5236fe4
|
Merge branch 'devel' of github.com:RWTH-OS/HermitCore into devel
|
2017-06-15 00:11:48 +02:00 |
|
Stefan Lankes
|
00d23d7b16
|
remove compiler warnings
|
2017-06-15 00:11:17 +02:00 |
|
Stefan Lankes
|
15153db395
|
mov wakeup_core to task.c
|
2017-06-14 23:29:59 +02:00 |
|
Stefan Lankes
|
278c7f21f0
|
remove typo
|
2017-06-14 23:29:11 +02:00 |
|
Stefan Lankes
|
a9b41369c1
|
use interrupt 83 (instead of 82) to wakeup a core
- interrupt 82 is already used to realize signals
|
2017-06-10 14:33:44 +02:00 |
|
Stefan Lankes
|
47a8bf2b0c
|
revise code layout
|
2017-06-10 14:15:48 +02:00 |
|
Stefan Lankes
|
fea0f31018
|
avoid busy waiting if the cpu feature mwait is missing
|
2017-06-07 21:54:28 +02:00 |
|
Stefan Lankes
|
7092e5e890
|
remove compiler warnings
|
2017-06-05 11:14:04 +02:00 |
|
Stefan Lankes
|
c615fdbf31
|
the device discovery alg. checks also the PCI subsystem id
|
2017-06-05 11:12:36 +02:00 |
|
Stefan Lankes
|
7ee56194d3
|
fix counter usage, add debug message
|
2017-06-03 10:19:10 +02:00 |
|
Stefan Lankes
|
1c477aaa60
|
set default baudrate to 38400
|
2017-06-03 08:16:19 +02:00 |
|
Stefan Lankes
|
8ce912ef03
|
before writing to UART, check if the fifo is free
|
2017-06-02 20:13:09 +02:00 |
|
Stefan Lankes
|
ab6dee0db7
|
revise uart interface, remove obsolete code
|
2017-06-02 20:08:42 +02:00 |
|
Stefan Lankes
|
2f278b345f
|
simplify UART detection, use the information of the loader
|
2017-05-31 22:08:21 +02:00 |
|
Stefan Lankes
|
b92a35a094
|
add the support of PCI's sub-vendor id
|
2017-05-30 23:05:30 +02:00 |
|
Stefan Lankes
|
986a2efcc8
|
simplify code, increase the compatibility to AMD processors
|
2017-05-30 23:04:14 +02:00 |
|
Stefan Lankes
|
26825756a2
|
add option to define uart port via kernel parameters
|
2017-05-27 21:26:12 +02:00 |
|
Stefan Lankes
|
ff44f5fa39
|
map kernel parameter into the virtual address space
|
2017-05-27 21:21:57 +02:00 |
|
Stefan Lankes
|
4a775ea129
|
revise debug messages
|
2017-05-27 21:19:12 +02:00 |
|
Stefan Lankes
|
4d8723644e
|
remove LINT0 support
|
2017-05-25 10:13:27 +02:00 |
|
Stefan Lankes
|
7e10157438
|
remove typo
|
2017-05-24 23:57:39 +02:00 |
|
Stefan Lankes
|
81e710a1ba
|
add more debug messages
|
2017-05-24 23:47:05 +02:00 |
|
Stefan Lankes
|
d044ea58b4
|
add implementations for atomic_intXX_inc/_dec
|
2017-05-24 22:24:03 +02:00 |
|
Stefan Lankes
|
2e9b9c62a5
|
remove padding in buddy_t, align TLS to 32 byte
|
2017-05-23 23:15:17 +02:00 |
|
Stefan Lankes
|
2704dbfb1e
|
only the boot processor should set mb_info
|
2017-05-20 14:00:12 +02:00 |
|
Stefan Lankes
|
fda002a9da
|
define pointer to multiboot_info_t as const
- we shouldn't change this pointer
|
2017-05-20 13:59:08 +02:00 |
|