Rev |
Age |
Author |
Path |
Log message |
Diff |
631 |
6826 d 22 h |
palkovsky |
/kernel/trunk/ |
Fixed cpu halting in debug panic mode. |
|
615 |
6829 d 8 h |
palkovsky |
/kernel/trunk/ |
Cleanups to make it compile with -Wall. Did not catch everything yet. |
|
609 |
6830 d 2 h |
palkovsky |
/kernel/trunk/ |
added support for breakpoints to mips32 |
|
607 |
6830 d 3 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 |
6830 d 21 h |
palkovsky |
/kernel/trunk/generic/src/ |
Added set4 command. |
|
601 |
6830 d 23 h |
palkovsky |
/kernel/trunk/ |
Added some readline functionality to kconsole.
Arrows editing, history, tab completion. |
|
591 |
6832 d 1 h |
palkovsky |
/kernel/trunk/generic/src/ |
Fixes in new console. |
|
585 |
6832 d 3 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 |
6832 d 4 h |
palkovsky |
/kernel/trunk/generic/ |
Added calling of generic functions to kconsole. |
|
534 |
6838 d 0 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6838 d 0 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
518 |
6845 d 20 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 |
6846 d 20 h |
jermar |
/kernel/trunk/ |
Implement basic kernel console command recognition.
Commands without arguments are now recognized. |
|
501 |
6850 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
430 |
6870 d 21 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
413 |
6885 d 20 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 |
6914 d 5 h |
jermar |
/SPARTAN/trunk/ |
Compilation fixes.
memcpy() must be declared in memstr.h |
|
351 |
6917 d 9 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 |
6917 d 22 h |
jermar |
/SPARTAN/trunk/src/ |
Remove _qsort() as its concept is fundamentally broken.
Move lib/the.c to proc/the.c. |
|
349 |
6917 d 22 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 |
6922 d 6 h |
bondari |
/SPARTAN/trunk/src/lib/ |
minor |
|
335 |
6922 d 6 h |
bondari |
/SPARTAN/trunk/src/lib/ |
More effective memory allocations with help of qsort wrapper method |
|
333 |
6922 d 6 h |
bondari |
/SPARTAN/trunk/src/lib/ |
Copyright notice and proper tabs |
|
331 |
6922 d 7 h |
bondari |
/SPARTAN/trunk/ |
Generic quicksort and bubble sort implementation.
ACPI MADT parser now uses qsort() for index sorting |
|
227 |
6932 d 5 h |
jermar |
/SPARTAN/trunk/ |
Add couple of assertions CPU != NULL.
Change type of nrdy from int to count_t.
Rewrite halt() to avoid page fault when CPU == NULL. |
|
205 |
6933 d 9 h |
jermar |
/SPARTAN/trunk/ |
Get rid of memcopy().
All we now have is memcpy() and _memcpy().
memcpy() is defined to be builtin.
Where not applicable, architectures must implement memcpy() code or call slowish _memcopy(). |
|
202 |
6933 d 21 h |
palkovsky |
/SPARTAN/trunk/src/lib/ |
Fixed bad types in memsetw. |
|
200 |
6933 d 21 h |
palkovsky |
/SPARTAN/trunk/ |
Added putchar to AMD |
|
198 |
6933 d 22 h |
jermar |
/SPARTAN/trunk/ |
Switch order of 'src' and 'dst' arguments in some left-over uses of memcopy.
Cleanup. |
|
195 |
6933 d 23 h |
vana |
/SPARTAN/trunk/ |
1) memcopy and _memcopy functions rewriten to ANSI C norm.
2) Repaired ia32,ia64 and mips version of SPARTAN to work with this memcopy functions
3) Warning for non declared funcions added and repaired ia32,ia64 and mips versions to pass build process with this warning and Werror option |
|
184 |
6934 d 9 h |
jermar |
/SPARTAN/trunk/ |
Add lib/the.c.
Add and deploy the_initialize() and the_copy().
Make IA-32's before_thread_runs() use SP_DELTA macro. |
|
72 |
7044 d 23 h |
decky |
/SPARTAN/trunk/ |
size_t usage
const qualifier
code cleanup |
|
67 |
7045 d 0 h |
decky |
/SPARTAN/trunk/ |
typedef short bool (as logical type), defines of false and true
const qualifier for list_member() |
|
62 |
7045 d 2 h |
decky |
/SPARTAN/trunk/src/lib/ |
doxygen-style comments |
|
59 |
7045 d 19 h |
jermar |
/SPARTAN/trunk/ |
Move architecture independent memcopy() and memsetb() out of MIPS subtree and place them in src/lib/ as _memcopy() and _memsetb().
Add MIPS native memsetb().
Add IA-64 native memcpy().
More complete and *almost* functional versions of IA-64 context_save() and context_restore(). |
|
32 |
7058 d 22 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
15 |
7077 d 1 h |
jermar |
/SPARTAN/trunk/ |
Introduce macros CPU, THREAD, TASK and use them to replace the->cpu, the->thread, the->task.
Later on, this will make it possible to reference *current* cpu, thread and/or task without the aid from virtual memory. |
|
1 |
7127 d 2 h |
jermar |
/SPARTAN/ |
Initial import |
|