Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
4180 5572 d 9 h decky /trunk/kernel/generic/ Unicode aware printf and family functions
(this breaks some things, but will be fixed soon)
 
4147 5578 d 13 h decky /trunk/kernel/generic/include/console/ move syscall wrappers to more suitable location  
4089 5584 d 6 h decky /trunk/kernel/generic/ avoid page fault on exit command
cleanup
 
4087 5584 d 6 h decky /trunk/kernel/generic/ use indev_t
remove console IRQ notification (will be replaced by a proper solution)
remove null_stdout (just initialize stdout to NULL)
remove console_init()
add check_poll()
more understandable message on halt with no polled input device
cleanup
 
4086 5584 d 6 h decky /trunk/kernel/generic/include/console/ split chardev_t into indev_t and outdev_t
simplify and cleanup operations
 
4042 5589 d 8 h jermar /trunk/ Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow.
 
3964 5600 d 10 h decky /trunk/kernel/ switch between the preference of kernel/uspace IRQ hash table  
3844 5624 d 2 h decky /trunk/ silent kernel console output when user space console is active  
3761 5656 d 4 h decky /trunk/ send notification to uspace console when switching from kernel console  
3707 5670 d 5 h decky /trunk/ kconsole is optional
kernel & uspace framebuffer rewrite with speedups (some things are slightly broken yet)
 
3097 5865 d 4 h decky /trunk/kernel/ resurrect klog  
3068 5866 d 9 h decky /trunk/kernel/generic/include/ reflect changes in sources  
2106 6352 d 10 h jermar /trunk/kernel/ Merge as_t structure into one and leave the differring parts in as_genarch_t.

Indentation and formatting changes in header files.
 
2093 6357 d 6 h decky /trunk/kernel/ spinlock extern declaration macro  
2089 6358 d 10 h decky /trunk/ huge type system cleanup
remove cyclical type dependencies across multiple header files
many minor coding style fixes
 
2071 6369 d 3 h jermar /trunk/ (c) versus (C)  
1888 6494 d 7 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1787 6559 d 5 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6566 d 6 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1702 6587 d 9 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1595 6594 d 16 h palkovsky /kernel/trunk/ Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog.
 
1474 6600 d 1 h palkovsky /kernel/trunk/ Added syscall that lets kernel regain access to keyboard.  
788 6715 d 6 h jermar /kernel/trunk/ Move list and fifo data types to adt/.  
669 6752 d 1 h jermar /kernel/trunk/ sparc64 work.
kconsole support.
Add non-blocking ofw_getchar().
 
623 6767 d 13 h jermar /kernel/trunk/ Add SPINLOCK_DECLARE and SPINLOCK_INITIALIZE macros.
SPINLOCK_DECLARE is to be used instead of direct spinlock_t declarations
in dynamically allocated structures on which spinlock_initialize() is called after
their creation.
SPINLOCK_INITIALIZE is to be used instead of direct spinlock_t declarations
of global spinlocks. It declares and initializes the spinlock.
Moreover, both macros are empty on UP so that -Wall warnings about unused structures
get supressed.
 
609 6770 d 6 h palkovsky /kernel/trunk/ added support for breakpoints to mips32  
607 6770 d 7 h palkovsky /kernel/trunk/ Fixed weird simics panic.
Run kconsole, if we panic. This currently works in gxemul,
simics. In mips we need to modify the simulator.
On ia32 we need a function, that would speak directly to the chip
and fetch the character using polling.
 
601 6771 d 4 h palkovsky /kernel/trunk/ Added some readline functionality to kconsole.
Arrows editing, history, tab completion.
 
596 6772 d 0 h jermar /kernel/trunk/ kconsole cleanup.
Separate commands from the engine.
 
586 6772 d 8 h jermar /kernel/trunk/ Fix ppc32 and sparc64 to compile again.
Fix sparc64 to function again.
 
585 6772 d 8 h palkovsky /kernel/trunk/generic/ String constants without spaces are now supported by call commands.
For more we would need some lexer.
The call? commands are not compatibile with stdarg functions on AMD
architectures, because of the calling sequence.
 
582 6772 d 9 h palkovsky /kernel/trunk/generic/ Added calling of generic functions to kconsole.  
575 6772 d 23 h palkovsky /kernel/trunk/ Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.

The chardev_t can now be both input & output device (was
needed for serial driver).

Broken other architectures - ia64, sparc, powerpc will not compile.

Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed.
 
534 6778 d 4 h jermar / Rename HelenOS/SPARTAN to HelenOS/kernel again.  
532 6778 d 4 h jermar / Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch.  
518 6786 d 1 h jermar /kernel/trunk/ Improve kconsole's support for recognition of commands with arguments.
Implement ARG_TYPE_STRING.
Add 'describe' command.
Move kconsole.c to generic/src/console.
Move kconsole.h to generic/include/console.
 
517 6787 d 1 h jermar /kernel/trunk/ Implement basic kernel console command recognition.
Commands without arguments are now recognized.
 
511 6789 d 23 h jermar /kernel/trunk/ Enable dummy kconsole for ia32 and amd64 (UP mode works).  
510 6790 d 0 h jermar /kernel/trunk/ Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole.