Commit graph

1705 commits

Author SHA1 Message Date
Stefan Lankes
ea5b7e4930 reset APIC before timer initialization 2011-04-08 16:02:01 +02:00
Stefan Lankes
e96a549349 more accurate calculation of the processor frequency 2011-04-08 16:01:54 +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
Marian Ohligs
47a69a5603 corrent status 2011-04-08 14:58:33 +02:00
Marian Ohligs
04583e3982 read write patch (not working yet) 2011-04-07 16:41:39 +02:00
Marian Ohligs
bbc0bbe2c3 add some .gitignore filetypes 2011-04-07 16:18:18 +02:00
Marian Ohligs
73eab577a6 add some git .ignore filetypes 2011-04-07 15:58:37 +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
Jacek Galowicz
6c6d77cfa6 Committed the rest. There is only few stuff missing.
Embedded nice pictures.
2011-04-05 14:44:42 +02:00
Stefan Lankes
e599063dd2 cosmetic changes 2011-04-05 11:37:20 +02:00
Stefan Lankes
b46664b375 increasing the readability 2011-04-05 11:33:41 +02:00
Stefan Lankes
b4900b5143 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm 2011-04-05 11:11:21 +02:00
Stefan Lankes
6732e97ccc Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into rcce 2011-04-05 02:03:50 -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
Stefan Lankes
31d14370c4 redesign of the SCC bootloader 2011-04-05 01:50:57 -07:00
Jacek Galowicz
f411498368 Commented another bunch of header files. 2011-04-04 18:12:08 +02:00
Jacek Galowicz
8a707cf2bd The procedure name "network_shotdown()" did indeed sound a bit too
violent, so i renamed it to "network_shutdown()", just like the header
file says.
2011-04-04 17:12:04 +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
Stefan Lankes
ffe0c1d806 add standard C function strtoul 2011-04-04 08:51:15 +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
3729433b37 Fix bug in wrong using of synchronisation primitives
=> reported by Jacek...
2011-04-01 19:33:41 +02:00
Stefan Lankes
27ddfb29e6 set default frequency to 533 MHz 2011-04-01 00:26:14 -07:00
Stefan Lankes
f14c693e10 fix bug in the routine, which calculates the apic timer frequecy 2011-04-01 00:24:03 -07:00
Stefan Lankes
fb215aca47 redesign of the SCC bootloader and rename kernel file to metalsvm.elf 2011-03-31 12:50:42 -07:00
Stefan Lankes
017233d7df use .text instead of .code section 2011-03-31 12:38:04 -07:00
Stefan Lankes
65d3c6c920 Merge branch 'master' into rcce 2011-03-26 10:10:22 -07:00
Stefan Lankes
d510339e2a move some type and macro definitions to quad.h 2011-03-26 13:29:50 +01:00
Stefan Lankes
0a485fdab8 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm 2011-03-26 10:18:24 +01:00
Stefan Lankes
3651ff97c8 use only an integer to specify the frequency (in MHZ) 2011-03-26 10:16:35 +01:00
Stefan Lankes
50fbacd359 add basic 64bit operations 2011-03-26 10:16:24 +01:00
Stefan Lankes
be3a4cc6ec specify SCC's memory layout in the config file 2011-03-26 10:16:15 +01:00
Stefan Lankes
edbc87a1fb add the MPB programm of the RCCE distribution to MetalSVM 2011-03-26 00:55:20 -07:00
Stefan Lankes
2fb15062da use only a int to specify the frequency in MHZ 2011-03-26 00:18:49 -07:00
Stefan Lankes
8edd6d5dc8 add 64bit basic operations 2011-03-26 00:14:55 -07:00
Stefan Lankes
cb75bf1d87 specify SCC's memory layout in the config file 2011-03-25 20:39:05 +01:00
Stefan Lankes
f9ec7ccadc redesign of the SCC's init routines 2011-03-25 20:28:43 +01:00
Stefan Lankes
5d94954d3a move koutput_init to the function lowlevel_init 2011-03-25 07:46:23 +01:00
Stefan Lankes
4efaedd33a fix typo in Makefile 2011-03-24 05:24:40 -07:00
Stefan Lankes
63bc9f000e add the directory arch/x86/scc to the kernel directories 2011-03-24 13:13:35 +01:00
Stefan Lankes
ccb8e7c73a disable unsupported function RCCE_wtime 2011-03-24 11:39:36 +01:00
Stefan Lankes
966338f590 add an example for the RCCE settings 2011-03-24 11:28:26 +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
de9fb1fc65 use for debugging the normal C callig convention!
=> no using of compiler flags -fomit-frame-pointer
=> definition of the macro WITH_FRAME_POINTER
2011-03-22 22:11:43 +01:00