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

97 commits

Author SHA1 Message Date
Stefan Lankes
9a28225424 add memory pool with the same host and guest virtual address 2018-01-16 09:33:01 +01:00
Stefan Lankes
e40ef3a3c3 check ARAT feature, reduce the time to calibrate APIC timer 2018-01-01 22:24:53 +01:00
Stefan Lankes
eea45d721a create GDT on demand to remove dependency on MAX_CORES 2017-12-31 11:20:14 +01:00
Stefan Lankes
0edbf56fd9 add option to reset fs & gs registers 2017-12-31 11:15:21 +01:00
Stefan Lankes
b3af314559 remove the dependencies on an array of boot stacks
- share one stack for all core during the boot process
- reduce the size of the BSS section
2017-11-26 12:48:00 +01:00
Stefan Lankes
e8d202e68a remove typo in cpuid check 2017-11-07 08:04:35 +01:00
Stefan Lankes
794f4ac3d3 enable MSR for string operations already in uhyve 2017-11-06 21:38:33 +01:00
Stefan Lankes
3c45b79acb enable fast string operations 2017-11-05 22:08:11 +01:00
Stefan Lankes
57feac36e4 disable performance monitoring counter 2017-11-05 21:06:48 +01:00
Stefan Lankes
c292ce0bb5 TSS' pointer ist1 will be created per task
=> remove obsolete line
2017-11-04 20:05:10 +01:00
Stefan Lankes
4c8e066aae allocate stacks on demand, reduce the size of the BSS section 2017-11-04 12:46:57 +01:00
Stefan Lankes
838fd7748f reduce the number of obsolete kernel messages 2017-09-23 10:25:23 +02:00
Stefan Lankes
e5f3ddcffa serialize instruction before sending an IPI 2017-09-22 00:14:26 +02:00
Stefan Lankes
28606578e4 add options for user defined uhyve network 2017-09-05 11:54:58 +02:00
Stefan Lankes
e2803e606b define kernel data segment as 64bit data segment 2017-08-21 00:45:25 +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
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
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
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
Stefan Lankes
c3080e0d75 determine the current LVT level before checking the level 2017-07-31 01:23:13 +02:00
Stefan Lankes
beb86f75a9 check supportet LVT level before disabling LVT_TSR & LVT_PMV 2017-07-31 01:15:25 +02:00
Stefan Lankes
63a19ececb remove typo (disable timer instead of thermal interrupt) 2017-07-31 01:05:45 +02:00
Stefan Lankes
f8b1d0050a increasing the readability 2017-07-28 13:33:30 +02:00
Stefan Lankes
ac06dec12d remove obsolete irq handler 2017-07-28 00:10:00 +02:00
Stefan Lankes
c7ce8fc81b avoid memory access by preloading image_size into r11 2017-07-27 11:01:54 +02:00
Stefan Lankes
23a98157b2 remove stupid typo 2017-07-26 23:47:02 +02:00
Stefan Lankes
99def26ce0 remove typo 2017-07-26 22:23:57 +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
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
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
c615fdbf31 the device discovery alg. checks also the PCI subsystem id 2017-06-05 11:12:36 +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