Commit graph

159 commits

Author SHA1 Message Date
daniel-k
0277f11570 fix wrong pci id for qemu pci-serial-4x 2015-01-09 09:36:04 +01:00
Stefan Lankes
7228ff3b12 fix bug in the calculation of the number of gdt entries
Signed-off-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
2015-01-04 04:54:02 +01:00
Stefan Lankes
8c6c1ee634 remove typos 2014-12-29 12:24:49 +01:00
Stefan Lankes
87668dd5cc support of high addresses by early printing via UART 2014-12-29 12:18:55 +01:00
Stefan Lankes
211fa113f0 add helper function to map a page frame into the boot page table 2014-12-29 12:17:18 +01:00
Stefan Lankes
2e75a39295 increasing the readability 2014-12-29 12:11:15 +01:00
Stefan Lankes
15908ecd3b remove typo 2014-12-29 09:28:26 +01:00
Stefan Lankes
0bf9a45722 switch to a NetBSD implementation of strstr to get a 3-clause BSD license 2014-12-29 00:42:45 +01:00
Stefan Lankes
aee7b9de52 per default eduOS doesn't support UART 2014-12-29 00:18:43 +01:00
Stefan Lankes
83a4832d15 usage of the boot paramter to establish an early output device 2014-12-29 00:15:03 +01:00
Stefan Lankes
c26a8fa4f8 extend the function pci_get_device_info to determine a device with a specific IO address 2014-12-29 00:13:57 +01:00
Stefan Lankes
21b6fdf309 add macro to determine if the bootloader append a cmdline string 2014-12-29 00:12:12 +01:00
Stefan Lankes
719b54b05a add more helper functions to deal with C string (strstr, strtol, strtoul, ...) 2014-12-29 00:11:04 +01:00
Stefan Lankes
187140ae99 strip kernel to reduce the image size 2014-12-28 20:34:12 +01:00
Stefan Lankes
eaaaaeb4bd Merge branch 'stage5' into stage6 2014-12-28 19:19:09 +01:00
Stefan Lankes
6eefe8f2bd disable FPU support 2014-12-28 19:18:13 +01:00
Stefan Lankes
fc34006203 Merge branch 'stage5' into stage6 2014-12-28 00:33:16 +01:00
Stefan Lankes
65d1d08f3c fix problem in the calculation of mmap size 2014-12-28 00:30:26 +01:00
Stefan Lankes
f0c0a764ea Merge branch 'stage5' into stage6 2014-12-27 23:28:25 +01:00
Stefan Lankes
0b49fb79a9 check bitmap boundary 2014-12-27 23:26:31 +01:00
Stefan Lankes
2214869297 increasing the readability 2014-12-27 23:25:25 +01:00
Stefan Lankes
03cf4a4f94 fix wrong page attributes 2014-12-27 23:21:49 +01:00
Stefan Lankes
239ee0c051 fix wrong initialization of CR4 2014-12-27 23:20:45 +01:00
Stefan Lankes
840a28465d remove obsolete graphic field 2014-12-23 07:52:21 +01:00
Stefan Lankes
5a5ddb35e2 add missing address and graphic field of the multiboot header 2014-12-22 23:21:57 +01:00
9a2cb452e5 fixes wrong return value of page_map(), fixes #2y
Signed-off-by: Stefan Lankes <slankes@eonerc.rwth-aachen.de>
2014-12-20 07:33:13 +01:00
e4d215d3d3 Merge branch 'master' of github.com:stv0g/eduOS 2014-12-20 00:48:15 +01:00
90937daeb5 fixes wrong return value of page_map(), fixes #2y 2014-12-20 00:47:07 +01:00
Stefan Lankes
0192f70338 Merge branch 'stage6' of https://github.com/RWTH-OS/eduOS into stage6
Conflicts:
	Makefile.example
	arch/x86/kernel/uart.c
2014-12-19 22:05:15 +01:00
Stefan Lankes
dc8232374f some cleanups 2014-12-19 21:50:26 +01:00
Stefan Lankes
44cc72b94e code cleanups, remove debug messages 2014-12-19 21:41:33 +01:00
Stefan Lankes
15073197a9 fix issue in the configuration of the UART device 2014-12-19 21:38:42 +01:00
daniel-k
dd961f8558 extent uart driver with stubs for additional interrupts and also look for
qemu's pci-serial-2x and pci-serial-4x devices
2014-12-19 17:05:01 +01:00
daniel-k
bc9c1098d2 adjust qemu commandline to enable serial communication with telnet 2014-12-19 17:01:12 +01:00
daniel-k
19f871579d Don't strip debug symbols of elf to use as symbol-file in gdb (fix crashing
gdb 7.7.1 on Ubuntu). Add debug-eclipse target and use target-specific CFLAGS
for debug targets.
2014-12-19 11:42:05 +01:00
daniel-k
2df269eac0 fix typo in Makefile example 2014-12-19 11:42:05 +01:00
Stefan Lankes
a945d498d7 reduce the number of interrupts, some cleanups 2014-12-19 11:36:09 +01:00
Stefan Lankes
dabd33f37c add helper functions to determine if the pci device use MMIO or IO ports 2014-12-19 11:35:24 +01:00
Stefan Lankes
75b39829f8 use flag PG_GLOBAL to map the video memory 2014-12-14 23:41:24 +01:00
Stefan Lankes
8cc32095af some cleanup 2014-12-14 23:40:08 +01:00
Stefan Lankes
1936c4b3eb remove typo in a comment 2014-12-13 18:47:02 +01:00
Stefan Lankes
4a9440dd62 redesign of the IO interface
- all messages are stored in a ring buffer
- new devices (e.g. UART) are able to print previous messages
2014-12-13 18:00:35 +01:00
Stefan Lankes
7a15541d82 add function to detect processor features 2014-12-13 17:56:46 +01:00
Stefan Lankes
926f818e83 reduce the number of debug messages 2014-12-13 17:55:29 +01:00
Stefan Lankes
ad291c5294 add new function to determin if a device supports MMIO 2014-12-13 17:53:42 +01:00
Stefan Lankes
3725b1f6d0 minor modifications in atomic_int32_inc/_dec
=> now, the functions returns also the current counter
2014-12-13 15:14:31 +01:00
Stefan Lankes
3d84f776be preperation to support memory mapped io 2014-12-12 14:44:21 +01:00
Stefan Lankes
e97f08d2ea add Daniel to the author list 2014-12-12 13:59:23 +01:00
Stefan Lankes
020a89e706 remove typo 2014-12-11 22:47:18 +01:00
Stefan Lankes
13e594d16e improve some comments 2014-12-11 22:45:23 +01:00