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

1239 commits

Author SHA1 Message Date
l_schmid
0037839174 uHyve should work now 2017-05-11 23:11:00 +02:00
l_schmid
bb0e1f2a36 Improved error handling
The error::Error enum has changed to provide additional information,
especially about missing files and failed IOCTL commands.
2017-05-11 21:05:52 +02:00
l_schmid
d687208b01 Use of intended ioctl! syntax
The syntax ioctl!(write <fnc> with KVMIO, <id>; <type>) is shorter than
ioctl!(<fnc> with iow!(KVMIO, <id>; mem::size_of::<type>())). Futhermore
the filedescriptor of vcpu.rs was invalid, because the destructor of
File::from_raw was immediately called. The vcpu struct contains now
the copy of the fd in the Rust world, perhaps there is an easier way to
pass the fd to memmap.
2017-05-11 20:05:42 +02:00
l_schmid
5226d4a19a The first isle is usable. This commit exists to check in a heavily WIP
version of the HermitCore proxy, rewritten in Rust. Any attempt to use
the current version in a serious manner should be avoided. The Multi and
UHyve isles aren't tested yet.
2017-05-09 23:49:13 +02:00
Stefan Lankes
47f5261b94 remove compiler warnings 2017-04-03 23:54:46 +02:00
Stefan Lankes
016a206fbd remove static initialization of BSS section, will be triggerd on demand 2017-04-03 23:38:01 +02:00
Stefan Lankes
c3a4a6e2df enable a check if the HermitCore app depends on a proxy 2017-04-03 09:16:54 +02:00
Stefan Lankes
1e3a73ea44 check cmdline string to determine the frequency 2017-04-03 09:16:12 +02:00
Stefan Lankes
78922085ac reserve 2 page for the multiboot cmdline string
- required for long strings
2017-04-03 09:15:03 +02:00
Stefan Lankes
12733c506d disable ebda search (not longer supported) 2017-04-03 09:13:30 +02:00
Stefan Lankes
d4668dc59e revise UART support, determine port via PCI scan 2017-04-03 07:17:46 +02:00
Stefan Lankes
dbefde4927 remove obsolete pragma "undef" 2017-04-03 07:06:30 +02:00
Stefan Lankes
9862cea384 add timeout to wait for an IP address 2017-04-02 23:33:57 +02:00
Stefan Lankes
d04690f462 add cmake support 2017-03-31 17:43:45 +02:00
Stefan Lankes
5c31c9149d enable lto support for binutils 2017-03-31 17:39:43 +02:00
Stefan Lankes
415e2d2133 add copyright statement 2017-03-19 22:57:37 +01:00
Stefan Lankes
a3ea183edc move more helper functions to the architecture dependent directory 2017-03-19 22:49:23 +01:00
Stefan Lankes
3a383b21e3 add check for avx512bw and avx512vl 2017-03-10 09:05:12 +01:00
Stefan Lankes
f8685378a8 remove wrong obsolete #if statement 2017-03-09 13:56:10 +01:00
Stefan Lankes
f6365ed840 move fpu_handler to the architecture independent directory 2017-03-09 08:09:05 +01:00
Stefan Lankes
473cdb76d6 move architecture dependent functions to the subdirectory arch 2017-03-09 07:35:59 +01:00
Stefan Lankes
7fa679be42 move architecture dependent file to the subdirectory arch 2017-03-08 23:31:28 +01:00
Stefan Lankes
a65068e82e use _ before the function name for internal functions 2017-03-08 22:42:38 +01:00
Stefan Lankes
589867d293 rename functions to avoid collisions with newlib 2017-03-08 22:16:38 +01:00
Stefan Lankes
21f58abba1 remove typo 2017-03-08 02:01:27 +01:00
Stefan Lankes
c7e53d12bf move architecture dependent basic functions to libkern 2017-03-08 01:25:57 +01:00
Stefan Lankes
4a74e9306a rename basic functions (e.g. memset) to avoid collisions with newlib 2017-03-08 00:48:06 +01:00
Stefan Lankes
070cd009cb remove obsolete line 2017-03-07 23:09:50 +01:00
Stefan Lankes
5c1c002d0f use #if instead of #ifdef to simplify the config file 2017-03-07 23:08:59 +01:00
Stefan Lankes
e288b9ee4b remove typos 2017-03-07 00:15:04 +01:00
Stefan Lankes
3a926240ca move hardware dependent functions to the subdirectory arch 2017-03-07 00:05:19 +01:00
Stefan Lankes
1269a71439 add missing file for architecture dependent vma support 2017-03-06 23:37:55 +01:00
Stefan Lankes
8f9430f3fe move architecture dependent part to a subdirectory of arch 2017-03-06 23:32:42 +01:00
Stefan Lankes
a6d4208e45 remove obsolete config flag, which isn't supported by all architecture 2017-03-05 19:55:22 +01:00
Stefan Lankes
f29c29cd52 remove obsolete file 2017-03-05 19:45:06 +01:00
Stefan Lankes
890134dc82 simplify uart device
- HermitCore uses on uart to send log messages to qemu
- unidirectional communication => remove interrupt handler
- remove mmio support for uart
2017-03-05 18:48:51 +01:00
Stefan Lankes
815937216f remove obsolete VGA support 2017-03-04 10:52:18 +01:00
Stefan Lankes
1130232b58 only by using the VGA interface, the header will be included 2017-03-04 09:42:11 +01:00
Stefan Lankes
bec33e239c move tss.h to processor.h 2017-03-04 09:03:55 +01:00
Stefan Lankes
5236ff236e use #if instead of #ifdef to simplify the config file 2017-03-04 08:48:32 +01:00
Stefan Lankes
75893ac811 remove compiler warnings 2017-03-04 00:42:25 +01:00
Stefan Lankes
2f6090a8d4 move platform dependent functions to the arch directory 2017-03-04 00:32:51 +01:00
Stefan Lankes
d55e2cd55d use #if instead of #ifdef to simplify the config file 2017-03-04 00:31:35 +01:00
Stefan Lankes
cc1f19fe28 add detection of clflushopt and clwb support 2017-03-03 23:09:49 +01:00
Stefan Lankes
8539e1fbf0 Merge pull request #65 from daniel-k/pr/uhyve_refactor
tools/uhyve: refactoring and minor fixes
2017-03-01 21:05:51 +01:00
daniel-k
5f949d4acc tools/uhyve: fix memory leak 2017-03-01 18:57:32 +01:00
daniel-k
76f9ad80f7 tools/uhyve-cpu: remove unused definition of _kvm_segment 2017-03-01 18:57:32 +01:00
daniel-k
eee932bab8 tools/proxy: use switch-case for monitor enum 2017-03-01 18:57:32 +01:00
daniel-k
728b465826 tools/uhyve: general refactoring 2017-03-01 18:57:27 +01:00
daniel-k
3942d62fe8 tools/uhyve: refactor syscalls definitions into new file 2017-03-01 18:48:45 +01:00