Commit graph

266 commits

Author SHA1 Message Date
Stefan Lankes
be3a4cc6ec specify SCC's memory layout in the config file 2011-03-26 10:16:15 +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
Stefan Lankes
88393984d9 use platform independent data types to create the initrd 2011-03-22 19:04:37 +01:00
Stefan Lankes
b447d78179 remove obsolete entry 2011-03-22 09:30:43 +01:00
Stefan Lankes
6bdff29b11 increasing the support of cross compiling 2011-03-22 09:30:22 +01:00
Stefan Lankes
604670c981 now, the system call "execve" sets also the environment 2011-03-10 09:10:12 +01:00
Stefan Lankes
472b13b527 fix typo 2011-03-09 18:35:23 +01:00
Stefan Lankes
2d9ba6ae70 forwarding arguments to the new tasks 2011-03-08 23:12:38 +01:00
Stefan Lankes
ed29ee444a minor optimization in our assembler code 2011-03-08 14:39:21 +01:00
Stefan Lankes
d201c4d1bc - add the support of the system call execve 2011-03-07 20:26:55 +01:00
Stefan Lankes
fc407a3eda copy also the entries of the pgt container 2011-03-07 20:25:52 +01:00
Stefan Lankes
6613b13c1c cosmetic changes 2011-03-07 20:04:44 +01:00
Stefan Lankes
80377e4ff3 redesign of the IO interface
=> do not create an additional task to dump kernel messages
2011-03-07 20:02:24 +01:00
Stefan Lankes
ec5c78fbb3 remove compiler warnings 2011-03-04 23:33:58 +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
c21b1bf8a2 remove compiler warnings 2011-03-04 22:42:41 +01:00
Stefan Lankes
08dd1852b6 create all page tables for the kernel space 2011-03-04 21:38:36 +01:00
Stefan Lankes
08b0207dc9 introduce a special PGD lock for the kernel space 2011-03-04 13:47:06 +01:00
Stefan Lankes
56ee331596 add nested spinlocks
- required to avoid deadlocks
2011-03-04 11:38:40 +01:00
Stefan Lankes
3c0c9f2d1a use compiler flag -fno-builtin to disable ALL builtin functions 2011-03-04 07:35:24 +01:00
Stefan Lankes
8dd37885cb extending of our test program
=> using of the system call "execve"
2011-03-03 10:31:17 +01:00
Stefan Lankes
e9e2a0bd01 add the support of the system call "execve" in our libgloss 2011-03-03 09:47:14 +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
9e082fcb68 move driver "/dev/null" to the directory "drivers/char" 2011-03-03 07:44:20 +01:00
Stefan Lankes
a27150b923 Fix bug in system call "fork"
- issues: memory leak
2011-03-02 23:08:01 +01:00
Stefan Lankes
d4d7ff3aec remove obsolete file 2011-03-02 15:42:22 +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
e5031e872e add in libgloss the support of the system calls "read" and "wait" 2011-03-02 06:31:14 +01:00
Stefan Lankes
cf078ec359 add a function to read the instruction pointer 2011-03-02 06:28:50 +01:00
Stefan Lankes
136afedbda ignore *.pcap and *.img files 2011-03-02 05:36:06 +01:00
Stefan Lankes
6772524b08 change copyright statement
=> using of a public domain license
2011-03-02 05:32:25 +01:00
Stefan Lankes
8aff78ff48 include task.h, which is needed by our mailbox 2011-03-01 07:50:42 +01:00
Stefan Lankes
00a4e0e5ab rename example (test_fork => tests) 2011-02-28 12:22:49 +01:00
Stefan Lankes
78cd455b20 seperate type declaration and implementation 2011-02-28 12:16:27 +01:00
Stefan Lankes
187df97227 delete wrong comment 2011-02-24 19:08:51 +01:00
Stefan Lankes
17193475bb use a spinlock for each PGD
increases also the useability of vm_alloc and vm_free
2011-02-24 19:06:32 +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
c5b650fc32 add the support of the VMA list into the kernel
- after process termination, this list is used to free the allocated memory regions
2011-02-24 09:37:31 +01:00