Commit graph

55 commits

Author SHA1 Message Date
stefan
3131e0a9bf - prepare file for architecture specific code
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@58 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-10 11:25:33 +00:00
stefan
310c8ec4b3 - remove some compiler warnings
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@57 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-10 09:21:35 +00:00
stefan
83d3609306 - remove obsolete code
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@56 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-10 09:20:40 +00:00
stefan
90588f58ae - add assembler functions for memcpy and memset
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@55 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-10 09:10:48 +00:00
stefan
5c5b6da768 - fix bug in memory counting
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@54 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 17:55:05 +00:00
stefan
a3c5f8f5b8 - minor optimizations
- we push only the required registers



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@53 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 17:49:18 +00:00
stefan
ea6658a2ab - add the function spinlock_has_lock to avoid nested blocking
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@52 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 17:31:11 +00:00
stefan
311b32aef8 - add macro for a static initialization of a semaphore
- create a special process which reads the kernel messages from a buffer and dump them on the screen



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@51 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 15:43:45 +00:00
stefan
ffd61e14b0 - remove obsolete debug messages
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@50 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 13:30:00 +00:00
stefan
52cf282835 - minor update
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@49 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 13:25:01 +00:00
stefan
9754bffcc0 - redesign of the atomic operations
- now, we use a ticket lock



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@48 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 13:22:03 +00:00
stefan
71188c92f9 - complete restart of the project
- support of TSS-based task switching
- add a mailbox template
- suport of user level task
- support of system calls


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@47 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-09 11:47:51 +00:00
stefan
9160888a8d - cosmetic changes
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@46 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 13:50:03 +00:00
stefan
737c1f4f6c - delete directory
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@45 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 13:05:01 +00:00
stefan
6f2bc1ccc8 - rename directory
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@44 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 13:04:02 +00:00
stefan
a9043ebf72 - create GDTs for user applications (ring 3)
- rename section osstart to multiboot


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@43 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 12:41:38 +00:00
stefan
7294c47c98 - add code to detect pci interfaces
- code restructuring
- remove some typos in debug messages



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@42 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 11:53:02 +00:00
stefan
5d139a1519 - add additional inport and outport functions (wl)
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@41 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-05 07:11:38 +00:00
stefan
6a45b433ea - realize a mailbox with a variable buffer size
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@40 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 18:00:33 +00:00
stefan
507e2afe3b - remove obsolete file
=> include directly <asm/irq.h>


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@39 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 17:22:58 +00:00
stefan
39e8b7e461 - add some additional error checks
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@38 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 17:21:25 +00:00
stefan
a8f684af9c - remove type in join_kernel_tasks (typo in if-clause)
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@37 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 17:20:44 +00:00
stefan
9839840e89 - simplify the code by defining the new task status TASK_IDLE
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@36 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 16:28:59 +00:00
stefan
e5714b3e9e - add a notice of using FreeBSD code (printf,...)
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@35 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 13:29:32 +00:00
stefan
aeb7b5d462 - add missing file
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@34 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 13:02:03 +00:00
stefan
5aa857e1c5 - add the compiler flag "-fno-stack-protector"
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@33 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 12:52:36 +00:00
stefan
7709a0f466 - cosmetic changes
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@32 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 11:19:56 +00:00
stefan
3fb741a0f8 - update of our example configuration file
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@31 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 11:18:04 +00:00
stefan
1383b8ece5 - minor changes to increase the debugging output
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@30 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 11:17:14 +00:00
stefan
6fdb0a2068 - minor changes in the prototyp of mmu_init
- return value 0 => successfull intitialization of the mmu



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@29 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 11:16:20 +00:00
stefan
b09114c06c - add a full-featured standalone printf implementation, which based FreeBSD's printf implementation
=> BSD lincense



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@28 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-04 11:13:25 +00:00
stefan
d5cf97f1d4 - minor changes
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@27 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 14:02:21 +00:00
stefan
54ff068137 - add missing files
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@26 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 13:15:37 +00:00
stefan
e806fd27e8 - add missing file
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@25 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 12:13:27 +00:00
stefan
334b27b557 - minor update
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@24 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 12:10:47 +00:00
stefan
cac9438b1a - add first steps to integrate LWIP
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@23 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 12:07:26 +00:00
stefan
9825532c82 - remove obsolete files
- the function join_kernel_task delivers the return value of the task, which is watinting for
-spinlocks supports irq save functions 


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@21 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 10:20:32 +00:00
stefan
c147a6a095 - add a simple implementation of a mailbox
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@20 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 07:13:12 +00:00
stefan
4b3c070275 - add some additional error checks
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@19 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-03 07:12:27 +00:00
stefan
44f4de6e80 - add an implementation of a semaphore and some test cases
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@18 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 19:05:33 +00:00
stefan
b6375e8d6c - remove typo
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@17 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 13:34:01 +00:00
stefan
b11c38d4af - add the support of "join_kernel_task"
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@16 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 13:24:05 +00:00
stefan
49177e8c9e - rename file
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@15 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 12:38:13 +00:00
stefan
e184955a2b - add Multiboot support (http://www.gnu.org/software/grub/manual/multiboot/)
- Multiboot is needed to initialize our memory management


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@14 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 12:32:58 +00:00
stefan
ae08a68b42 - update for "marc008"
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@12 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 09:55:18 +00:00
stefan
c0cdc2b283 - workaround to build MetalSVM on marc008
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@11 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 09:50:12 +00:00
stefan
3b38ec302e - add "USE_KEYBOARD" in the config example
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@10 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 09:01:56 +00:00
stefan
7a8b4eef1c - add the possibility to exclude the keyboard supportwq
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@9 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 08:58:06 +00:00
stefan
177e9a5108 - extend the LDFLAGS to use the symbol start as entry point
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@8 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 08:46:19 +00:00
stefan
0aea73bdc7 - add a simple memory mangement unit
- use a bitmask to mark used pages (see lecture notes "BS")


git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@7 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-08-02 07:43:56 +00:00