A Bare-Metal Hypervisor for Non-Coherent Memory-Coupled Cores
Find a file
Jacek Galowicz 394befa3a8 Color management for procedures using vga_putchar
As seen in some BSD operating systems, you can now push and pop foreground and background colors onto a stack to change the colors you see on the screen whenever kprintf/kputchar is used.

This could become useful if one wants to see kernel space kprintfs in other colors than user space printfs or error messages in red and other debugging purposes.

Beware: This is just a small and dirty hack which protects the colorstack with locks and so on. But on task switching the color will not be switched. That makes different colors for different colors persistent for all the time difficult/impossible. But I considered adding colors to the task structures a bit overdone for a small debugging-help.

[Sorry for those commit-and-pull-back-mails. Forgot that I had this stuff on the master branch while pushing my own branch onto the server.]
2011-05-25 09:26:00 +02:00
arch/x86 Color management for procedures using vga_putchar 2011-05-25 09:26:00 +02:00
documentation Committed the rest. There is only few stuff missing. 2011-04-05 14:44:42 +02:00
drivers remove typo 2011-04-22 23:19:53 -07:00
fs First steps to realize Inter-Core-Communication via RCCE 2011-04-23 00:13:12 -07:00
include Color management for procedures using vga_putchar 2011-05-25 09:26:00 +02:00
kernel Color management for procedures using vga_putchar 2011-05-25 09:26:00 +02:00
libkern Color management for procedures using vga_putchar 2011-05-25 09:26:00 +02:00
lwip - use non-recursive Makefiles 2011-02-09 19:13:40 +00:00
mm use HALT instead of NOP8 2011-05-17 08:12:56 -07:00
newlib add rudimental support of the system call times 2011-04-21 10:13:58 +02:00
tools define that we also load metalsvm.obj to pid 1 2011-04-21 07:31:45 +02:00
.gitignore add some .gitignore filetypes 2011-04-07 16:18:18 +02:00
Doxyfile Committed the rest. There is only few stuff missing. 2011-04-05 14:44:42 +02:00
LICENSE-2.0.txt - first steps to realize a SVM subsystem in a VM 2010-07-31 15:53:30 +00:00
link.ld redesign of the SCC bootloader and rename kernel file to metalsvm.elf 2011-03-31 12:50:42 -07:00
Makefile.example New Makefile target: qemudbg 2011-05-16 13:26:49 +02:00
Makefile.inc redesign of the SCC bootloader and rename kernel file to metalsvm.elf 2011-03-31 12:50:42 -07:00
NOTICE - substantiate the NOTICE file 2010-10-28 07:11:05 +00:00
script.gdb New Makefile target: qemudbg 2011-05-16 13:26:49 +02:00