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

1607 commits

Author SHA1 Message Date
Stefan Lankes
76e073c986 Added custom ELFOSABI_HERMIT and added support for it to elfedit 2016-04-02 22:48:01 +02:00
Stefan Lankes
b944c1718b Merge pull request #16 from stv0g/binfmt_misc
Using binutil's elfedit to patch our custom OSABI
2016-04-02 18:42:43 +02:00
9d4ea34dbb simplified proxy by moving ELF parsing to kernel 2016-04-02 09:42:07 +02:00
131c69523b using binutil's elfedit to patch our custom OSABI
also get rid of obsolete targets
2016-04-01 19:46:28 +02:00
Stefan Lankes
ad3e6045d0 Revise README and delete obsolet parts 2016-03-31 21:48:37 +02:00
Stefan Lankes
915a1c8175 Merge pull request #14 from jbreitbart/master
README rewording. :)
2016-03-31 19:29:43 +02:00
Jens Breitbart
934c97ade6 README rewording. :) 2016-03-31 19:15:41 +02:00
Stefan Lankes
556dd6d161 add link to http://www.hermitcore.org 2016-03-31 09:32:07 +02:00
Stefan Lankes
c33ac6029e add small introduction 2016-03-31 09:30:07 +02:00
Stefan Lankes
ce01741740 remove typo 2016-03-31 07:34:22 +02:00
Stefan Lankes
3e849b2d13 add describtion of loader registration 2016-03-31 07:32:51 +02:00
Stefan Lankes
16cce1dba3 Merge branch 'stv0g-binfmt_misc' into devel 2016-03-30 22:52:11 +02:00
Stefan Lankes
7b6f9d41b4 simplify hello example 2016-03-30 22:07:24 +02:00
Stefan Lankes
64c88bf77d add rule to create proxy
- otherwise some make commands aren't able to build the proxy because
  they ignore the LDFLAGS
2016-03-30 22:05:03 +02:00
Stefan Lankes
2ff981cbab remove white spaces 2016-03-30 21:41:56 +02:00
ae8452c088 updated README to reflect new host shared mount and binfmt_misc loader 2016-03-30 16:24:11 +02:00
75225fa2e9 updated gitignores 2016-03-30 16:13:58 +02:00
f5a4228cbd fixed two smaller bugs in binfmt_misc based loader 2016-03-30 16:11:19 +02:00
a9381b2896 Replaced proxy-image.iso by host/VM shared mount
This commit moves most of the userspace initialization to
a new shell script in hermit/tools/init.sh

There, it also registers a new binary format for Hermit applications.
2016-03-30 16:07:23 +02:00
4641a092d6 build kernel with binfmt_misc support 2016-03-30 16:02:04 +02:00
0f6fdeb411 patch all binaries with a custom OSABI field in the ELF header 2016-03-30 15:51:09 +02:00
7b45743ca4 code style fixes 2016-03-30 13:11:45 +02:00
b0c16e6345 Do not link proxy with applications
We will load ELF binaries directly.
Next step is the binfmt_misc integration
2016-03-30 13:10:27 +02:00
58a12feeb3 simplified intialization of socket 2016-03-30 13:08:55 +02:00
b947e6291a do not fail if directories already exist 2016-03-30 13:04:19 +02:00
Stefan Lankes
9a53fab0fa move the call of pthread_init to the preinit_array 2016-03-28 22:11:37 +02:00
Stefan Lankes
6587e02aba add the support of the compiler flag "-Ofast" 2016-03-27 22:30:07 +02:00
Stefan Lankes
9416b9754c some code cleanups 2016-03-26 10:03:33 +01:00
Stefan Lankes
e7b22d6187 remove compiler warnings 2016-03-25 17:46:03 +01:00
Stefan Lankes
b83fe5da39 remove obsolete code 2016-03-25 17:39:35 +01:00
Stefan Lankes
274f963c07 move gethostname to socket library
=> remove workaround in libomp
2016-03-25 17:38:32 +01:00
Stefan Lankes
8dc9f7cbdc proxy dumps error number, if it receives an invalid system call 2016-03-25 14:42:42 +01:00
Stefan Lankes
5048c3d3eb add shutdown check in the scheduler => if true, switch to the idle task 2016-03-25 09:22:42 +01:00
Stefan Lankes
695e4e9dc9 define signal handler for a clean shutdown of the proxy 2016-03-25 09:21:54 +01:00
Stefan Lankes
89b431ec8d add missing flags to integrate init_array/fini_array into the binary 2016-03-24 09:23:13 +01:00
Stefan Lankes
0acea5cbf3 use init_array/fini_array to initialize the system 2016-03-24 00:22:29 +01:00
Stefan Lankes
e7b7ddb5a6 remove obsolete counter 2016-03-21 00:32:43 +01:00
Stefan Lankes
545073235a simplify memory management
HermitCore is a single-address space operating system => only one global
lock is required to protect the page tables and the VMA structure.

Furthermore, obsolete code to duplicate tasks is removed.
2016-03-21 00:18:45 +01:00
Stefan Lankes
f3f1af3526 replace a left shift from -1 by left shift of ~0
because a left shift of -1 isn't defined in the C standard
2016-03-20 00:58:39 +01:00
Stefan Lankes
317d3300b4 "deactivate" page table flag PG_GLOBAL
- HermitCore is a single-address space OS => CR3 never changed
=> PG_GLOBAL isn't required => set PG_GLOBAL to 0
- could avoid collisions with Linux, which uses PG_GLOBAL for the kernel
  space
2016-03-20 00:41:45 +01:00
Stefan Lankes
1ff778ecbc Merge pull request #11 from jbreitbart/master
Jens improvements
2016-03-19 23:34:31 +01:00
Stefan Lankes
9a461e5f24 disable LWIP_TCPIP_CORE_LOCKING_INPUT 2016-03-17 13:49:01 +01:00
Stefan Lankes
4f9262bfcc improve LwIP performance by core locking 2016-03-17 00:51:07 +01:00
Stefan Lankes
6136343ac7 improve performance by increasing the p-state 2016-03-17 00:48:18 +01:00
Stefan Lankes
085308168e switch back to the default example 2016-03-17 00:46:47 +01:00
Stefan Lankes
00aee67022 remove debug message 2016-03-16 13:22:09 +01:00
Stefan Lankes
53184c7d3d remove debug messages 2016-03-16 10:45:12 +01:00
Stefan Lankes
07d6a404b2 add some additional info messages 2016-03-16 09:36:51 +01:00
Stefan Lankes
7308fe9f44 by receiving an invalid system call, the application will be terminated 2016-03-16 09:35:27 +01:00
Stefan Lankes
8bd1fb6948 remove typo 2016-03-16 00:09:20 +01:00