Commit graph

66 commits

Author SHA1 Message Date
Stefan Lankes
c0a96953b4 only if CONFIG_VGA is defined, VGA will be mapped into the kernel space 2012-07-22 10:56:03 +02:00
Stefan Lankes
c32a30726a some code cleanups 2012-07-17 12:44:18 -07:00
Stefan Lankes
0b5f83392f Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm_private 2012-07-14 11:13:07 +02:00
Stefan Lankes
d5c5e1278a determine via awk KERNEL_STACK_SIZE and push the value into config.inc 2012-07-14 11:12:13 +02:00
Jacek Galowicz
c0c6244690 Added Makefile.scc and config.h.scc - preconfigured for use on SCC 2012-07-13 08:02:19 +02:00
Stefan Lankes
aba4c7205a remove bug in Makefile to build a 64bit system on Linux system 2012-07-10 21:47:03 +02:00
Stefan Lankes
227cc19890 add alpha version of x64 support
New features:
- support of kernel tasks in 64bit mode
- support of LwIP in 64bit mode

Missing features in 64bit mode
- user-level support
- APIC support => SMP support

To create a 64bit version of the MetalSVM kernel, the compiler flags “-m64 -mno-red-zone” and the assembler flags “-felf64” has to be used. Please use qemu-system-x86_64 as test platform.

Notice, metalsvm.elf is a 32bit ELF file. However, it contains (beside the startup code) only 64bit code. This is required because GRUB doesn’t boot 64bit ELF kernels. Therefore, for disassembling via objdump the flag  “-M x86-64” has to be used.
2012-06-10 08:05:24 +02:00
Stefan Lankes
ed2186ee03 add init code, which jumps to 64bit mode and and calls main 2012-05-29 20:47:45 +02:00
Stefan Lankes
d21e707024 Merge remote-tracking branch 'origin/master' into x64_new 2012-05-24 12:05:14 +02:00
Stefan Lankes
83bd8ea677 add 64bit version of link.ld 2012-05-23 08:09:08 +02:00
Stefan Lankes
07a981a028 prepare newlib to support x86_64 2012-05-23 08:03:06 +02:00
Jacek Galowicz
f8058bbee2 Made the makescript generate config.inc automatically. 2012-05-22 13:38:41 +02:00
Stefan Lankes
b9b962ea73 revise software multitasking
=> remove hardware multitasking
2012-05-21 15:04:05 +02:00
Florian Zeitz
f58afd7e34 Introduce CPP_FOR_TARGET in Makefile 2012-02-28 12:48:25 +01:00
Generic account for RWTHAachen Students
698759df75 fix bug in Makefile.example 2011-11-21 03:37:19 -08:00
Jacek Galowicz
17da526f10 Added cross compiler and stack protector variable to Makefile
If using another tool chain to compile everything, like on the Intel SCC
or OS X, there is only one variable in the Makefile to change the cross compiler prefix.
Furthermore, there is another variable to remove the -fno-stack-protector setting, which is important for compiling on the SCC.

Adapted the documentation to this, too.
2011-11-19 12:21:45 +01:00
Stefan Lankes
789ffcb011 minor changes 2011-10-02 14:44:05 +02:00
Stefan Lankes
dc679f44d5 use 4711 as "rlogin port" 2011-09-27 12:47:52 +02:00
Marian Ohligs
591692f441 - tidy up the drivers folder
- all char driver could be find in drivers/char
2011-08-27 12:10:05 +02:00
Marian Ohligs
27b7c6aa6e add networkI/O (unstable) 2011-08-10 18:56:40 +02:00
Marian Ohligs
5c7e9f38ec Merge branch 'master' into ohligs
Conflicts:
	.gitignore
	kernel/syscall.c
	kernel/tasks.c
	kernel/tests.c
	newlib/examples/Makefile
2011-08-10 16:57:17 +02:00
Marian Ohligs
032bba3a95 - some chmod changes 2011-08-02 15:58:20 +02:00
Marian Ohligs
94a98c5950 Merge branch 'master' into ohligs
Conflicts:
	kernel/tasks.c
2011-07-30 19:21:25 +02:00
Stefan Lankes
4735eb6651 redirect qemu's monitor to stdio 2011-07-30 17:24:06 +02:00
Marian Ohligs
55e0e971be merge master 2011-07-27 10:28:01 +02:00
root
c78b0e9f56 upgrade to newest metalsvm 2011-06-27 11:40:37 +02:00
Marian Ohligs
5d8da1103d add some drivers to Makefile.example 2011-06-21 12:42:08 +02:00
Marian Ohligs
2a23f30963 Merge branch 'master' into ohligs 2011-06-12 12:02:24 +02:00
Stefan Lankes
393808e198 fix bug in the initializtion of the BSS section
- DO NOT LONGER USE the compiler flag "-fno-zero-initialized-in-bss"
2011-06-09 08:18:12 +02:00
U-MobileHooK\Benedikt
1077a5a3ca initial commit 2011-06-04 09:27:30 +02:00
Marian Ohligs
4527603c7c some changes in .gitignore 2011-05-29 23:10:00 +02:00
Stefan Lankes
318324949e add missing directory to the list of the lwip directories 2011-05-29 13:02:04 -07:00
Jacek Galowicz
58115dc000 New Makefile target: qemudbg
This target starts qemu in Debug-Mode and GDB.
There is a GDB-Script file script.gdb which is extensible to match your
debugging needs.
2011-05-16 13:26:49 +02: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
63bc9f000e add the directory arch/x86/scc to the kernel directories 2011-03-24 13:13:35 +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
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
3c0c9f2d1a use compiler flag -fno-builtin to disable ALL builtin functions 2011-03-04 07:35:24 +01:00
Stefan Lankes
9e082fcb68 move driver "/dev/null" to the directory "drivers/char" 2011-03-03 07:44:20 +01:00
Stefan Lankes
520924b5d9 Merge branch 'master' of git.lfbs.rwth-aachen.de:metalsvm into fork 2011-02-17 17:01:55 +01:00
Stefan Lankes
b268a92319 fix issues by building MetalSVM on a x86_64 system 2011-02-17 07:37:53 -08:00
Stefan Lankes
833513397f add a label qemu to start qemu with "our" default parameters 2011-02-17 09:24:48 +01:00
Stefan Lankes
769502c840 use -O2 to optimize newlib 2011-02-16 22:38:14 +01:00
Stefan Lankes
109c9bf013 create initrd during the build process 2011-02-16 15:27:21 +01:00
Stefan Lankes
6bb932acf9 remove SVN specific commands 2011-02-16 14:20:16 +01:00
stefan
f643d93897 - add the source code from newlib
- move libgloss to the newlib/src/libgloss/metalsvm
- remove binary code



git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@409 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-16 09:38:14 +00:00
stefan
4992537990 - supplement to the last patch
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@401 315a16e6-25f9-4109-90ae-ca3045a26c18
2011-02-09 19:15:10 +00:00
stefan
6f8e291f45 - by default we enable the PCI support
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@298 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-30 06:07:40 +00:00
stefan
141c2c194e - add a unique build number
git-svn-id: http://svn.lfbs.rwth-aachen.de/svn/scc/trunk/MetalSVM@227 315a16e6-25f9-4109-90ae-ca3045a26c18
2010-11-04 08:27:53 +00:00