Rev |
Age |
Author |
Path |
Log message |
Diff |
1248 |
6691 d 4 h |
jermar |
/kernel/trunk/ |
Add some @file doxygen comments and improve already existing comments. |
|
1239 |
6692 d 3 h |
jermar |
/kernel/trunk/generic/ |
Prevent race in as_area_send() by allowing the address space area to be
created with AS_AREA_ATTR_PARTIAL attribute. |
|
1196 |
6702 d 8 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1100 |
6729 d 0 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
1070 |
6732 d 11 h |
jermar |
/kernel/trunk/ |
More checks for address space area conflicts. |
|
1048 |
6733 d 6 h |
jermar |
/kernel/trunk/generic/ |
Restore interrupts when failing in as_remap().
Add check_area_conflicts() that checks whether address area overlaps with other areas.
Refuse to create writeable executable address space areas.
Rename as_area_t::size to as_area_t::pages. |
|
1026 |
6733 d 21 h |
jermar |
/kernel/trunk/generic/ |
Support only anonymous address space areas. |
|
973 |
6735 d 9 h |
palkovsky |
/kernel/trunk/generic/ |
Added simpler userspace starting. |
|
963 |
6735 d 23 h |
jermar |
/kernel/trunk/generic/src/lib/ |
Fix bug in loading ELF segment. |
|
952 |
6736 d 5 h |
jermar |
/kernel/trunk/ |
Support for loading segments containing .bss section. |
|
938 |
6737 d 3 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
910 |
6744 d 7 h |
bondari |
/kernel/trunk/ |
ELF framework for all archs. SPARC V9 not tested to compile. |
|
882 |
6751 d 9 h |
jermar |
/kernel/trunk/generic/src/lib/ |
Improved version of generic memcpy().
Should improve frame buffer impression. |
|
854 |
6758 d 3 h |
bondari |
/kernel/trunk/ |
ELF loading workaround: some core declarations. |
|
822 |
6768 d 22 h |
palkovsky |
/kernel/trunk/ |
Changed malloc to include second parameter and documented
recommended usage.
Added zone merging, made ia32 & amd64 to merge found zones. |
|
814 |
6769 d 8 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
788 |
6772 d 3 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
659 |
6817 d 10 h |
jermar |
/kernel/trunk/ |
Make the kernel compile with -Wall. |
|
635 |
6822 d 21 h |
palkovsky |
/kernel/trunk/ |
Fixed kconsole resolution of similar commands.
Add commands to debugger to allow for simple profiling or
calling debug actions if needed. |
|
631 |
6823 d 23 h |
palkovsky |
/kernel/trunk/ |
Fixed cpu halting in debug panic mode. |
|
615 |
6826 d 10 h |
palkovsky |
/kernel/trunk/ |
Cleanups to make it compile with -Wall. Did not catch everything yet. |
|
609 |
6827 d 4 h |
palkovsky |
/kernel/trunk/ |
added support for breakpoints to mips32 |
|
607 |
6827 d 5 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. |
|
603 |
6827 d 22 h |
palkovsky |
/kernel/trunk/generic/src/ |
Added set4 command. |
|
601 |
6828 d 1 h |
palkovsky |
/kernel/trunk/ |
Added some readline functionality to kconsole.
Arrows editing, history, tab completion. |
|
591 |
6829 d 3 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixes in new console. |
|
585 |
6829 d 5 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 |
6829 d 6 h |
palkovsky |
/kernel/trunk/generic/ |
Added calling of generic functions to kconsole. |
|
534 |
6835 d 1 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6835 d 2 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
518 |
6842 d 22 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 |
6843 d 22 h |
jermar |
/kernel/trunk/ |
Implement basic kernel console command recognition.
Commands without arguments are now recognized. |
|
501 |
6847 d 6 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
430 |
6867 d 23 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
413 |
6882 d 21 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|
360 |
6911 d 7 h |
jermar |
/SPARTAN/trunk/ |
Compilation fixes.
memcpy() must be declared in memstr.h |
|
351 |
6914 d 10 h |
jermar |
/SPARTAN/trunk/src/lib/ |
Ok. The idea of _qsort() was not broken at all.
Revert the changes and make _qsort() call _qsort() rather than qsort() so that the idea has effect.
Add _bubblesort() to optimize number of allocations when bubblesort algorithm is invoked from _qsort().
Add doxygen-style comments. |
|
350 |
6915 d 0 h |
jermar |
/SPARTAN/trunk/src/ |
Remove _qsort() as its concept is fundamentally broken.
Move lib/the.c to proc/the.c. |
|
349 |
6915 d 0 h |
jermar |
/SPARTAN/trunk/ |
Optimize sorting functions so that malloc() and free() is called only for e_size > EBUFSIZE.
Smaller buffers are allocated directly on the stack.
Some copyright holder fixes on some files written by Ondrej Palkovsky. |
|
336 |
6919 d 7 h |
bondari |
/SPARTAN/trunk/src/lib/ |
minor |
|