Commit graph

1705 commits

Author SHA1 Message Date
Carl-Benedikt Krüger
2535fbd83d shell test 2011-07-26 17:00:19 +02:00
Carl-Benedikt Krüger
446297d213 shell test 2011-07-26 16:53:59 +02:00
Carl-Benedikt Krüger
b35dfc1bd8 shell test 2011-07-26 16:52:07 +02:00
Carl-Benedikt Krüger
62713bc9d2 shell test 2011-07-26 14:39:48 +02:00
Carl-Benedikt Krüger
2336693773 shell test 2011-07-26 14:38:07 +02:00
Carl-Benedikt Krüger
72b4cc0af8 shell test 2011-07-26 14:36:41 +02:00
Carl-Benedikt Krüger
53b736e925 shell test 2011-07-26 14:35:55 +02:00
Carl-Benedikt Krüger
b81429e542 shell test 2011-07-26 14:34:06 +02:00
Carl-Benedikt Krüger
b8da89d250 shell test 2011-07-26 14:31:26 +02:00
Carl-Benedikt Krüger
0f1ace1ef2 shell test 2011-07-26 14:30:16 +02:00
Carl-Benedikt Krüger
94fc627ccf shell test 2011-07-26 14:28:32 +02:00
Carl-Benedikt Krüger
da239c6345 shell test 2011-07-26 14:27:41 +02:00
Carl-Benedikt Krüger
118f0349cc shell test 2011-07-26 14:22:37 +02:00
Carl-Benedikt Krüger
77af84f416 shell test 2011-07-26 12:12:21 +02:00
Carl-Benedikt Krüger
f8d1ba1f69 shell test 2011-07-26 11:55:43 +02:00
Simon Pickartz
f344f65769 mailbox-system thread-safe now 2011-07-23 12:27:08 -07: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
83bd42a020 remove type 2011-07-21 21:57:15 +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
Marian Ohligs
c768f03193 - initrd_open now init in initrd_mkdir
- O_CREAT is working!
2011-07-21 13:32:09 +02:00
Marian Ohligs
5da4c28249 bug fix 2011-07-21 10:59:45 +02:00
Marian Ohligs
a11897414d - O_TRUNC is working yet
- fixing some bugs in O_TRUNC
- disable some buggy code
2011-07-21 10:24:37 +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
b228c2260f reduce the number of per_core calls 2011-07-21 09:58:42 +02:00
Stefan Lankes
28a535dbeb SMP version is currently buggy => please define MAX_CORES as 1 2011-07-20 09:51:50 +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
dfa928de78 reduce the number of function calls to determine the core id 2011-07-19 21:22:54 +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
Simon Pickartz
6e14d56de8 mailbox does not support sendings to own mailbox 2011-07-18 01:14:18 -07:00
Stefan Lankes
82e6604a2c demo also shows the core number on which the application is running 2011-07-18 09:51:16 +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
e7c0f53562 redesign of the boot code of the application processor 2011-07-18 08:35:57 +02:00
Stefan Lankes
1fb1379a9c remove typo 2011-07-18 08:35:14 +02:00
Stefan Lankes
afbe7ea520 fix typo 2011-07-16 07:52:14 +02:00
Stefan Lankes
18ce8eff11 some code cleanups 2011-07-15 09:22:31 +02:00
Simon Pickartz
ac840a835a add new iRCC.h 2011-07-13 15:16:52 +02:00
Simon Pickartz
76befd94f1 update to current mailbox-system 2011-07-13 15:08:33 +02:00