Stefan Lankes
5d16090b76
map FPGA registers to the kernel space
2011-05-29 15:30:34 -07:00
Marian Ohligs
83f5a4c426
Merge branch 'master' into ohligs
...
Conflicts:
.gitignore
2011-05-29 11:20:49 +02:00
Stefan Lankes
cdd16a2b9f
add the SSE support
...
=> context switch stores also the SSE registers
2011-05-28 23:35:46 +02:00
Marian Ohligs
4f0bc05a74
add basic support of scanf, get ...
2011-05-23 12:56:14 +02:00
Stefan Lankes
098546fe25
fix typo in the declaration of icc_ping
2011-05-17 08:11:41 -07:00
Stefan Lankes
3a0e42eef1
add ping pong test and some bug fixes in the ICC part
2011-04-24 07:27:27 -07:00
Stefan Lankes
29ab43f289
First steps to realize Inter-Core-Communication via RCCE
2011-04-23 00:13:12 -07:00
Stefan Lankes
7cb05d8f4a
first version to support the FPU
...
- seems to work
- currently, we didn't support SIMD instructions
2011-04-21 07:32:10 +02:00
Stefan Lankes
d8ad0b8dce
add space to store the FPU context
2011-04-21 07:31:46 +02:00
Jacek Galowicz
a9c4b5ddc0
Encapsulated IDT-/GDT-descriptor configuring code into helper functions.
2011-04-21 07:31:45 +02:00
Stefan Lankes
373d663fd0
add iRCCE code
2011-04-21 07:31:38 +02:00
Stefan Lankes
68564c3238
Merge branch 'tests'
...
Conflicts:
include/metalsvm/spinlock.h
include/metalsvm/spinlock_types.h
kernel/tasks.c
2011-04-18 15:36:22 +02:00
Stefan Lankes
47f37e3b00
use memory barriers instead of read memory barriers to determine the current TSC
...
=> more accurate caclculation of the timer frequency
+ minor cosmetic changes
2011-04-18 15:07:45 +02:00
Jacek Galowicz
b9b7841dc3
Moved IDT related structs from idt.c to idt.h.
2011-04-15 15:08:41 +02:00
Stefan Lankes
02cf1d87f2
resolve some merge conflicts
2011-04-14 08:58:07 +02:00
Stefan Lankes
b5908af744
Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into doxygen
...
Conflicts:
.gitignore
arch/x86/include/asm/apic.h
arch/x86/include/asm/page.h
arch/x86/include/asm/processor.h
arch/x86/kernel/idt.c
2011-04-14 08:40:52 +02:00
Stefan Lankes
eeb49cdb90
add the SCC support of a initial ramdisk
2011-04-13 11:03:34 -07:00
Stefan Lankes
ba1388c13d
Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into rcce
2011-04-08 07:26:55 -07:00
Stefan Lankes
8868900e19
redesign of nested if flag handling
...
=> only clearing and setting of the IF flag
2011-04-08 16:02:28 +02:00
Stefan Lankes
030243f200
introduce the hlt instruction
2011-04-08 16:01:44 +02:00
Stefan Lankes
6b86f3c572
add the address of error status register
2011-04-08 16:01:36 +02:00
Stefan Lankes
683f8cca1e
add macro to simplify the using of th hlt instruction
2011-04-06 05:38:44 -07:00
Stefan Lankes
f0e4a2b833
add the support of the memory type MPBT
...
=> seesection "10.1.2 Internal Cache Changes" of SCC External Architecture Specification (R1.1)
2011-04-05 23:43:44 -07:00
Stefan Lankes
e8abd6f336
minor improvements and cosmetic changes to increase the readability
2011-04-05 02:00:02 -07:00
Stefan Lankes
9918db81ec
fix bugs in initialization of RCCE
...
at first, we have to enable paging and to disable caching for the configuration registers
2011-04-05 01:55:02 -07:00
Jacek Galowicz
f411498368
Commented another bunch of header files.
2011-04-04 18:12:08 +02:00
Jacek Galowicz
dfe2c817de
Continued the small documentation journey.
...
Edited Doxyfile - will show static functions and vars now, because some
of them were interesting for documentation.
2011-04-04 11:27:49 +02:00
Jacek Galowicz
60fd07542f
Documented GDT and IDT files and optimized doxygen-output by fixing
...
__attribute__ misparsings as structure names
2011-04-03 20:46:53 +02:00
Jacek Galowicz
6a9ca105f1
recently forgot to document page flags. This commit catches up.
2011-04-03 18:58:01 +02:00
Jacek Galowicz
1581d3e075
Added a doxyfile and documented arch/x86/include/asm/page.h
2011-04-01 20:13:26 +02:00
Stefan Lankes
2fb15062da
use only a int to specify the frequency in MHZ
2011-03-26 00:18:49 -07:00
Stefan Lankes
f9ec7ccadc
redesign of the SCC's init routines
2011-03-25 20:28:43 +01:00
Stefan Lankes
ccb8e7c73a
disable unsupported function RCCE_wtime
2011-03-24 11:39:36 +01:00
Stefan Lankes
c738a64d57
integration of RCCE in MetalSVM (untested version)
...
Attention: currently, MetalSVM didn't support the floating point unit
=> no using of RCCE_wtime
=> no using of the data type RCCE_double
=> RCCE_init expect an integer value as frequency in MHZ
2011-03-24 11:21:38 +01:00
Stefan Lankes
1d8810aa91
add rudimental support of basic C functions
...
- isacii
- islower
- isupper
- toascii
- isspace
- isdigit
- tolower
- toupper
- strtol
- atoi
2011-03-24 11:01:59 +01:00
Stefan Lankes
1a141d9dc9
create a separate directory for SCC specific code
2011-03-24 07:13:55 +01:00
Stefan Lankes
ed29ee444a
minor optimization in our assembler code
2011-03-08 14:39:21 +01:00
Stefan Lankes
6f092641ba
remove memory leak and redesign of the internal memory accounting
2011-03-04 22:44:53 +01:00
Stefan Lankes
56ee331596
add nested spinlocks
...
- required to avoid deadlocks
2011-03-04 11:38:40 +01:00
Stefan Lankes
464f31a53b
optimize the system call fork
...
- add a function to copy a physical page
=> reduce the using of vm_alloc and vm_free
2011-03-03 09:13:00 +01:00
Stefan Lankes
a27150b923
Fix bug in system call "fork"
...
- issues: memory leak
2011-03-02 23:08:01 +01:00
Stefan Lankes
5ce3ed9338
First steps to support the system calls "fork" and "wait"
...
- Currently, the system call "fork" doesn't work and has a memory leak
- However, it is a good starting point for further developments.
2011-03-02 13:49:36 +01:00
Stefan Lankes
cf078ec359
add a function to read the instruction pointer
2011-03-02 06:28:50 +01:00
Stefan Lankes
6772524b08
change copyright statement
...
=> using of a public domain license
2011-03-02 05:32:25 +01:00
Stefan Lankes
187df97227
delete wrong comment
2011-02-24 19:08:51 +01:00
Stefan Lankes
e157f93104
create also for kernel tasks a new PGD
2011-02-24 18:44:11 +01:00
Stefan Lankes
54d636d25c
after process termination, the PGD and its PGTs will be freed
2011-02-24 18:32:58 +01:00
Stefan Lankes
6f23361bf5
include only required headers
2011-02-24 10:19:34 +01:00
Stefan Lankes
16efb49204
remove obsolete function arguments
2011-02-24 10:15:58 +01:00
Stefan Lankes
b4884cde2d
add a function to change the pape permissions
2011-02-24 09:36:05 +01:00