1
0
Fork 0
mirror of https://github.com/hermitcore/libhermit.git synced 2025-03-09 00:00:03 +01:00
Commit graph

145 commits

Author SHA1 Message Date
Stefan Lankes
f1c37f9ac8 Merge branch 'devel' into path2rs 2017-09-03 00:05:08 +02:00
Jens Breitbart
cbb34022a0 Wshift negative value (#79) + more compiler to travis (#77)
- Fixed clang warning `shifting a negative signed value is undefined`.
- use more compilers to test HermitCore in Travis
2017-08-30 12:51:23 +02:00
Stefan Lankes
e2803e606b define kernel data segment as 64bit data segment 2017-08-21 00:45:25 +02:00
Stefan Lankes
81c7b8dac0 fix size of the GDT (forgot null descriptor) 2017-08-21 00:07:38 +02:00
Stefan Lankes
3b8e6791ee create valid pseudo interrupt to set cs 2017-08-20 10:51:52 +02:00
Stefan Lankes
e38722c7f4 remove 32bit code 2017-08-20 10:36:49 +02:00
Stefan Lankes
b163fa4521 reload the segment descriptors after loading GDT 2017-08-20 10:19:25 +02:00
Stefan Lankes
fb18d57f56 Merge remote-tracking branch 'origin/devel' into path2rs 2017-08-19 20:42:17 +02:00
Stefan Lankes
dfa27cb3c1 set selectors to kernel data segment 2017-08-19 19:36:51 +02:00
Stefan Lankes
07eafc9a08 fix limit for the TSS 2017-08-18 19:09:15 +02:00
Stefan Lankes
40bbe61145 increase the readability 2017-08-18 01:01:42 +02:00
Stefan Lankes
4c69558de2 Merge branch 'devel' into path2rs 2017-08-07 23:36:08 +02:00
Stefan Lankes
576e4867a3 avoid the usage of sse & avx 2017-08-07 20:57:28 +02:00
Stefan Lankes
f33db1d51c fix typo 2017-08-07 19:43:43 +02:00
Stefan Lankes
597ccb13ac disable builtin functions 2017-08-07 19:39:22 +02:00
Stefan Lankes
f40f9ed51e call directly the GNU linker 2017-08-07 12:14:08 +02:00
Stefan Lankes
8ec698a731 remove obsolete static array 2017-08-07 09:48:57 +02:00
Stefan Lankes
b9aad1757b remove compiler warnings 2017-08-07 09:33:28 +02:00
Stefan Lankes
a5c5f28a6e fix typo 2017-08-07 09:29:44 +02:00
Stefan Lankes
a6db410278 add check for -fstrength-reduce & -finline-functions 2017-08-07 09:26:13 +02:00
Stefan Lankes
e2bcdaf7db remove compiler flags, which aren't supported by clang 2017-08-07 09:17:21 +02:00
Stefan Lankes
68a74edda1 use always compiler flags, which are supported by gcc & clang 2017-08-07 08:11:56 +02:00
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
d785b1b89c initialize APIC after the intialization of IDT & GDT
- fix problems with Qemu
2017-08-04 10:07:07 +02:00
Stefan Lankes
abeae7ac0b remove obsolete global variable "kernel_stack" 2017-08-03 15:18:43 +02:00
Stefan Lankes
df256cc6c1 use unsigned operation instead of signed 2017-08-03 13:50:44 +02:00
Stefan Lankes
080c16088e add option to disable mwait support 2017-08-03 11:52:52 +02:00
Stefan Lankes
3316bb74aa add address of the CMCI register 2017-08-03 07:49:35 +02:00
Stefan Lankes
3e7bf2ec86 remove mwait support to avoid priority inversion 2017-08-03 07:48:39 +02:00
Stefan Lankes
3cc3cb0a29 increasing the readability 2017-08-03 00:43:01 +02:00
Stefan Lankes
cd6ebf5d8f add info message if MCE is available 2017-08-03 00:21:23 +02:00
Stefan Lankes
8b89b18a96 enable support of machine check handling 2017-08-03 00:07:20 +02:00