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
Stefan Lankes
458e29eb86
reduce the number of debug messages
2016-03-15 22:52:43 +01:00
Stefan Lankes
1a5fb9e070
fix buffer size of the mmnif driver
2016-03-15 22:51:54 +01:00
Stefan Lankes
e258887700
remove typos
2016-03-15 22:03:06 +01:00
Stefan Lankes
19b45a0052
remove compiler warnings
2016-03-15 11:14:19 +01:00
Stefan Lankes
482decafd3
some code cleanups
2016-03-15 10:39:55 +01:00
Stefan Lankes
6ccf12167a
some code cleanups
2016-03-15 00:01:41 +01:00
Stefan Lankes
2aef120c8e
some code cleanups
2016-03-14 21:45:09 +01:00
Stefan Lankes
e19677dc42
increasing the readability of the TLS creation
2016-03-14 21:11:13 +01:00
Stefan Lankes
525e169c6f
revise and simplify code, remove white spaces
2016-03-14 21:08:57 +01:00
Stefan Lankes
133abe1706
fix bug in the calucation of the fs value
2016-03-14 17:49:42 +01:00
Stefan Lankes
5f03c0efcf
increase the readability
2016-03-14 17:49:16 +01:00
Stefan Lankes
bbf6957883
increasing the readability
2016-03-14 16:35:54 +01:00
Stefan Lankes
cf6e98a8c0
fix bug in the calulation of the current time
2016-03-14 14:19:58 +01:00
Stefan Lankes
e46d2cb7d9
replace gettimeofday by a HermitCore compatible function
2016-03-14 12:25:21 +01:00
Stefan Lankes
81639a4097
fine tuning of sys_yield
...
- checks only if a process is ready to run
- no additional timer checks
2016-03-14 12:23:32 +01:00
Jens Breitbart
3a8b2c2d15
Removed <0 check for unsigned value.
2016-03-13 14:26:14 +01:00
Jens Breitbart
8ca290671e
Spaces.
2016-03-13 14:07:20 +01:00
Jens Breitbart
c988aa073a
Added .clang-format and .clang_complete.
...
.clang-format just disables clang-format formating for the whole project.
.clang_complete allows for clang based code auto-completion.
2016-03-13 14:04:27 +01:00
Stefan Lankes
1ff9688d62
use TLS to determine the thread id
2016-03-13 12:26:54 +01:00
Stefan Lankes
05465fa5b7
set defaul stack size to 64KByte
2016-03-13 11:48:17 +01:00
Stefan Lankes
ceea432877
remove obsolete debug message
2016-03-13 11:46:44 +01:00
Stefan Lankes
c0c835f98f
remove compiler warnings
2016-03-13 11:45:41 +01:00
Stefan Lankes
a370b33741
enable per default Intel' OpenMP Runtime
2016-03-13 11:11:59 +01:00
Stefan Lankes
4cb7e65dc8
revise code to check the boot process
2016-03-13 10:28:25 +01:00
Stefan Lankes
0e681c8695
replace cpu_relax by rep_nop
2016-03-13 10:27:14 +01:00
Stefan Lankes
dae879f222
add check, if the cores are successfully booted
2016-03-13 10:01:46 +01:00
Stefan Lankes
df5208ca7d
add variable OMPRT to identify, which OpenMP runtime (GNU/Intel) is used
2016-03-13 00:31:42 +01:00
Stefan Lankes
b38914d3cf
minor changes to guarantee that the code is compatible to UNIX
2016-03-13 00:11:27 +01:00
Stefan Lankes
6c89f85854
fine tuning in the configuration of Intel's OpenMP Runtime
2016-03-13 00:04:05 +01:00