Marian Ohligs
|
5c7e9f38ec
|
Merge branch 'master' into ohligs
Conflicts:
.gitignore
kernel/syscall.c
kernel/tasks.c
kernel/tests.c
newlib/examples/Makefile
|
2011-08-10 16:57:17 +02:00 |
|
Stefan Lankes
|
1583f886b8
|
on the SCC, the kernel determines the virtual address for the initrd
|
2011-08-10 03:25:22 -07:00 |
|
Stefan Lankes
|
c3fbc90b9e
|
switch (partly) from a Apache License to a BSD License
|
2011-08-08 23:32:34 +02:00 |
|
Marian Ohligs
|
a02b596580
|
- stdin blocks itself util kb has got the input message
|
2011-08-07 10:20:46 +02:00 |
|
Marian Ohligs
|
8591645bb3
|
- bug fix
|
2011-08-06 19:05:46 +02:00 |
|
Marian Ohligs
|
cdc6707852
|
Merge branch 'master' into ohligs
- one more bug: block_task is missing
Conflicts:
include/metalsvm/tasks_types.h
kernel/main.c
kernel/tasks.c
|
2011-08-06 17:51:48 +02:00 |
|
Stefan Lankes
|
a179ded21b
|
redesign of the timers, support of timeouts in mailboxes and semaphores
|
2011-08-06 15:55:34 +02:00 |
|
Stefan Lankes
|
387ef0ea9b
|
cosmetic changes
|
2011-08-04 16:48:04 +02:00 |
|
Stefan Lankes
|
22441375bb
|
add blocking timers
only the idle tasks use the polling mode
|
2011-08-03 21:41:06 +02:00 |
|
Stefan Lankes
|
452aa3b1d1
|
cosmetic changes and add some scheduling statistics
|
2011-08-03 19:37:05 +02:00 |
|
Marian Ohligs
|
5af1ae0386
|
Merge branch 'master' into ohligs
|
2011-08-03 10:43:10 +02:00 |
|
Stefan Lankes
|
577300919c
|
fix bug in search_apic and uses function to find the MP Config Table
|
2011-08-03 07:37:57 +02:00 |
|
Stefan Lankes
|
f4dd038ee5
|
save and restore segment registers
=> this fixed a bug in the system call "fork"
|
2011-08-02 12:33:08 -07:00 |
|
Stefan Lankes
|
d91b0d49c2
|
minor bug fix
=> search the MP Config Table below 1MB
|
2011-08-02 18:29:20 +02:00 |
|
Marian Ohligs
|
53d3b0e45d
|
Merge branch 'master' into ohligs
Conflicts:
kernel/tests.c
|
2011-08-02 16:00:11 +02:00 |
|
Marian Ohligs
|
032bba3a95
|
- some chmod changes
|
2011-08-02 15:58:20 +02:00 |
|
Stefan Lankes
|
75cf088989
|
use nicer output messages
|
2011-08-02 06:19:26 -07:00 |
|
Marian Ohligs
|
429c2a99d7
|
Merge branch 'master' into ohligs
|
2011-08-01 22:35:04 +02:00 |
|
Stefan Lankes
|
d5bfc4f28c
|
avoid races on SMP systems
=> signalizes with a new flag, that a task switch is finished
|
2011-08-01 22:01:39 +02:00 |
|
Marian Ohligs
|
b25bd2d785
|
Merge branch 'master' into ohligs
|
2011-07-31 20:09:00 +02:00 |
|
Stefan Lankes
|
a26f88c940
|
cosmetic changes
|
2011-07-31 19:17:42 +02:00 |
|
Stefan Lankes
|
27ee238684
|
search MP table on all systems
|
2011-07-31 19:15:06 +02:00 |
|
Marian Ohligs
|
f9be7c9641
|
Merge branch 'master' into ohligs
|
2011-07-30 23:00:57 +02:00 |
|
Stefan Lankes
|
0410594ae8
|
fix bug in handling the timer interrupt
=> sending EOI before task switching
|
2011-07-30 22:47:27 +02:00 |
|
Stefan Lankes
|
5290cd0002
|
using of the correct data types
=> avoids some conflicts on other architectures
|
2011-07-30 22:46:08 +02:00 |
|
Marian Ohligs
|
94a98c5950
|
Merge branch 'master' into ohligs
Conflicts:
kernel/tasks.c
|
2011-07-30 19:21:25 +02:00 |
|
Stefan Lankes
|
fba32ec692
|
using of the correct data types
=> avoids some conflicts on other architectures
|
2011-07-30 17:34:30 +02:00 |
|
Stefan Lankes
|
30f84a4007
|
fix bug in irq handling
|
2011-07-30 17:28:09 +02:00 |
|
Marian Ohligs
|
4b258871be
|
Merge branch 'master' into ohligs
|
2011-07-27 10:36:51 +02:00 |
|
Marian Ohligs
|
55e0e971be
|
merge master
|
2011-07-27 10:28:01 +02:00 |
|
Stefan Lankes
|
ff2b9da103
|
do not longer search a MP table, if MAX_CORES is set to 1
|
2011-07-22 21:17:15 +02:00 |
|
Stefan Lankes
|
ff8c37d68d
|
use "real" atomic operations to set a value in atomic_t
|
2011-07-22 21:08:38 +02:00 |
|
Stefan Lankes
|
dd9ddbca46
|
add memory barrier
|
2011-07-21 19:15:48 +02:00 |
|
Marian Ohligs
|
a14ba26991
|
Merge branch 'master' into ohligs
Conflicts:
kernel/tasks.c
kernel/tests.c
|
2011-07-21 15:05:32 +02:00 |
|
Stefan Lankes
|
ab37b024b0
|
simply the scheduler => move code from entry.asm to timer.c
|
2011-07-21 09:59:29 +02:00 |
|
Stefan Lankes
|
e57a447fda
|
minor changes in using the per_core macro, add additional output messages by an exception & cosmetic changes
|
2011-07-20 09:47:46 +02:00 |
|
Stefan Lankes
|
20c944b099
|
avoid a task migration during the calculation of the current task
=> temporary clearing the IF flag
|
2011-07-20 08:24:24 +02:00 |
|
Stefan Lankes
|
8e9accd6ed
|
cosmetic changes
|
2011-07-19 09:58:40 +02:00 |
|
Stefan Lankes
|
a422926dda
|
cosmetic changes
|
2011-07-19 09:23:55 +02:00 |
|
Stefan Lankes
|
d05ffcacac
|
we use the same handler for exceptions and interrupts => interrupts has to push a virtual error code on the stack
|
2011-07-19 09:10:12 +02:00 |
|
Stefan Lankes
|
b1c5bf67c2
|
use a more robust method to find the MP table
|
2011-07-19 07:36:24 +02:00 |
|
Stefan Lankes
|
d203a070f4
|
add IPI support to flush the TLB on the other cores
|
2011-07-19 07:16:49 +02:00 |
|
Stefan Lankes
|
85768e6f58
|
fix bug in APIC code
=> before we enable the interrupts, we map the APIC registers
|
2011-07-18 15:51:26 +02:00 |
|
Stefan Lankes
|
da8b078184
|
align timer_ticks to a cache line
|
2011-07-18 09:32:52 +02:00 |
|
Stefan Lankes
|
e595fae384
|
add SMP support
- this is experimental version
- by setting MAX_CORES to 1, you are to disable the SMP support
|
2011-07-18 09:14:28 +02:00 |
|
Stefan Lankes
|
09b3655ea4
|
reserve a page for the boot code of the application processors
|
2011-07-18 09:13:33 +02:00 |
|
Stefan Lankes
|
ba1cbc97c8
|
on a SMP system, only the boot processor increases the timer value
|
2011-07-18 09:10:23 +02:00 |
|
Stefan Lankes
|
36a8ed9e31
|
add helper functions for reading and writing CMOS entries
|
2011-07-18 09:06:09 +02:00 |
|
Stefan Lankes
|
35ec905b7e
|
move processor initialization code into the function cpu_init
|
2011-07-18 09:01:35 +02:00 |
|
Stefan Lankes
|
18ce8eff11
|
some code cleanups
|
2011-07-15 09:22:31 +02:00 |
|