Stefan Lankes
7ee756ada3
remove obsolete flag -ftls-model=initial-exec
2015-08-17 13:00:25 +02:00
Stefan Lankes
91682c7cac
some code cleanups
2015-08-17 12:59:39 +02:00
Stefan Lankes
f302750ddc
resuing of newlib's impure_ptr for the main thread
2015-08-17 12:58:02 +02:00
Stefan Lankes
9d23a19de9
add some debug messages
2015-08-17 12:55:02 +02:00
Stefan Lankes
88890ebfb6
prepare kernel to support canceled wait for a semaphore
2015-08-17 12:53:20 +02:00
Stefan Lankes
213e4518d1
frees the memory of a finished task after the switch to the next task
2015-08-17 12:51:39 +02:00
Stefan Lankes
b8ecff4e4d
remove typo
2015-08-17 12:49:33 +02:00
Stefan Lankes
03111d7ef1
dump all registers by an unhandled page fault
2015-08-17 12:47:46 +02:00
Stefan Lankes
9c272ba688
some code cleanups
2015-08-17 12:46:17 +02:00
Stefan Lankes
2d11d94940
remove obsolete line
2015-08-17 12:39:25 +02:00
Stefan Lankes
d57181f84a
add some comments, fix stack missalignment
2015-08-14 21:06:16 +02:00
Stefan Lankes
62d6cd53aa
add some notes to the list of TODOs
2015-08-13 22:28:43 +02:00
Stefan Lankes
919d1d14aa
revise APIC code, add rdtscp support
...
- fix bug by a TLB shoot down
- fix bug in x2APIC code, read APIC ID correctly
2015-08-13 22:26:04 +02:00
Stefan Lankes
ea68816194
dump also the CORE_ID by an exception
2015-08-13 22:23:50 +02:00
Stefan Lankes
b1c6daea27
ignore static libraries
2015-08-12 23:16:26 +02:00
Stefan Lankes
cf0350a97b
remove binary
2015-08-12 23:15:41 +02:00
Stefan Lankes
3f2f634d96
switch to the OpenMP version of stream
2015-08-12 21:01:20 +02:00
Stefan Lankes
faef78bdba
add libgomp
...
- derived from the orginal libgomp
- remove ACC support
- remove the support of target devices
2015-08-12 21:00:11 +02:00
Stefan Lankes
d1f3f2282b
use a constant address to map kernel information
2015-08-12 20:59:03 +02:00
Stefan Lankes
579feaa64f
set new page table entry before we flush the TLB
2015-08-12 20:58:08 +02:00
Stefan Lankes
ecc71937fa
add the support of Unix semaphores
2015-08-12 20:52:51 +02:00
Stefan Lankes
ce8cb7fba4
use crti.o & crtn.o to call the constructors and destructors
2015-08-12 20:37:14 +02:00
Stefan Lankes
929cb5f9bf
add some outpurt messages to document the build process
2015-08-11 10:25:19 +02:00
Stefan Lankes
e03c0e09ea
revise build system
...
- build a bootstrap compiler
- afterwards we build newlib and the final gcc
2015-08-11 09:39:17 +02:00
Stefan Lankes
592d99462c
store gs register before we swap it with the kernel version
2015-08-10 14:10:27 +02:00
Stefan Lankes
90178d2bb4
add the support of the compiler flag "-pthread"
2015-08-10 12:32:04 +02:00
Stefan Lankes
123c3e8387
remove obsolete files
2015-08-09 22:03:21 +02:00
Stefan Lankes
dd025a0a66
move submodules tu hermit/usrmove submodules tu hermit/usrmove
...
submodules tu hermit/usrmove submodules tu hermit/usrmove submodules tu
hermit/usrmove submodules tu hermit/usrmove submodules tu hermit/usrmove
submodules tu hermit/usr
2015-08-09 21:59:56 +02:00
Stefan Lankes
0f1b05ef1c
prepare the migration to the directory usr
2015-08-09 20:22:41 +02:00
Stefan Lankes
39457b7a86
use rdfsbase & co. during the interupt handling
...
- should be faster than the access to msr
2015-08-09 19:50:34 +02:00
Stefan Lankes
249617c727
add open points to the TODO list
2015-08-09 14:35:08 +02:00
Stefan Lankes
221d90f02d
add initial support of threads
2015-08-09 14:34:36 +02:00
Stefan Lankes
b09d1ac594
add the support of rdgsbase, rdfsbase, wrgsbase and wrfsbase
2015-08-09 14:32:00 +02:00
Stefan Lankes
ab904526b5
add thread demo as example for initd
2015-08-09 14:30:49 +02:00
Stefan Lankes
611cec0ba8
save/restore fs & gs register during the interrupt handling
2015-08-09 14:29:15 +02:00
Stefan Lankes
15801c535c
add rules to build pte, enable TLS support
2015-08-09 14:26:40 +02:00
Stefan Lankes
3b7a7daea3
add newlib/examples/thr_hello to the list of ignored files
2015-08-09 14:25:27 +02:00
Stefan Lankes
5087d28b8a
add thread demo
2015-08-09 14:24:24 +02:00
Stefan Lankes
eea712c218
remove obsolte line
2015-08-09 14:22:41 +02:00
Stefan Lankes
2eb1584163
switch to the first useable PTE port
2015-08-09 14:21:51 +02:00
Stefan Lankes
2599bdcb89
remove the flag -lgloss because it isn't longer required
...
=> all symbols are provided by newlib
2015-08-07 16:15:31 +02:00
Stefan Lankes
662da088f1
remove multiboot support
2015-08-04 23:13:03 +02:00
Stefan Lankes
397f5c2151
add submodule for binutils
2015-08-03 22:27:16 +02:00
Stefan Lankes
b78e485e38
start to create a toolchain for HermitCore
2015-08-03 22:23:43 +02:00
Stefan Lankes
f6aa000bd4
align address of the program segments to the page boundary
2015-08-03 22:06:25 +02:00
Stefan Lankes
148f31fba4
add the flag "-mtune=native" to support the latest cpu features
2015-07-31 22:50:21 +02:00
Stefan Lankes
a025cc1c4a
use rdtscp to determine the calcualtion time
2015-07-31 22:31:07 +02:00
Stefan Lankes
9b79795304
remove obsolete debug message
2015-07-31 22:29:28 +02:00
Stefan Lankes
1c26d2854f
use stream as demo application
2015-07-31 22:15:07 +02:00
Stefan Lankes
1ac0c41af1
create readonly page for kernel information
...
=> map this into the user-space
=> applications are able to read status information
2015-07-31 22:12:55 +02:00