Rev |
Age |
Author |
Path |
Log message |
Diff |
1780 |
6616 d 12 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1769 |
6619 d 8 h |
jermar |
/kernel/trunk/arch/ |
Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes. |
|
1702 |
6637 d 15 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1055 |
6726 d 12 h |
cejka |
/kernel/trunk/arch/mips32/include/ |
Stack constants moved to stack.h as on other archs. |
|
1054 |
6726 d 12 h |
cejka |
/kernel/trunk/ |
Updated stackarg macros for mips32.
Mips32 stack aligned on 8 bytes boundary. |
|
534 |
6828 d 10 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6828 d 10 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6840 d 14 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
414 |
6875 d 20 h |
jermar |
/SPARTAN/trunk/ |
Create generic context_save() and context_restore().
These two functions are defined inline and only call context_save_arch() and context_restore_arch(), respectively.
The main purpose of this is to enable centralized commenting of these important and tricky functions. |
|
413 |
6876 d 6 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. |
|
341 |
6911 d 15 h |
jermar |
/SPARTAN/trunk/ |
Rename mips port to mips32. |
|
319 |
6916 d 19 h |
jermar |
/SPARTAN/trunk/arch/mips/ |
Copyright notices changes. |
|
317 |
6916 d 19 h |
palkovsky |
/SPARTAN/trunk/ |
MIPS exception now saves all necesssary information only on stack. |
|
313 |
6917 d 6 h |
palkovsky |
/SPARTAN/trunk/arch/ |
MIPS bug fixes.
Added usermode to MIPS, unfortunately impossible to test until
MM is ready. |
|
306 |
6917 d 20 h |
palkovsky |
/SPARTAN/trunk/ |
Fixed mips boot process.
On interrupt saving registers, save $lo, $hi.
Add interrupt naming to asm files (mips).
Save only necessary registers on context switch (see mips ABI).
Fixed copyright info. |
|
180 |
6925 d 9 h |
jermar |
/SPARTAN/trunk/ |
Globalize 'size' and 'delta' and rename them to 'kernel_size' and 'heap_delta'.
Fix heap initialization to take 'heap_delta' into account.
Implement IA-64 get_stack_base().
Adjust SP_DELTA's to consider one extra word on stack.
(So that the stack pointer is within appropriate limits even on IA-64).
More #include cleanup. |
|
125 |
6970 d 7 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|
81 |
7029 d 8 h |
jermar |
/SPARTAN/trunk/ |
Add SP_DELTA macro for each architecture.
On IA-32, this macro represents two doublewords that must be on the stack when switching to a new stack.
On MIPS, there is no need to fix sp when switching to a new stack.
On IA-64, this macro is used to allocate the 16-byte scratch area.
IA-64 work.
Changes in start.S. More changes to come.
Define memcopy().
Janitorial fixes.
Add missing #include <panic.h> to rwlock4/test.c.
Remove wrong use of inline keyword from both declaration and definition of l_apic_id(). |
|
56 |
7038 d 6 h |
vana |
/SPARTAN/trunk/ |
Added fpu_context.h arch dep files and removed struct fpu_context from context.h files |
|
51 |
7038 d 9 h |
jermar |
/SPARTAN/trunk/ |
Small changes, fix last few wrong indentations.
TODO cleanup.
IA-64 bits.
Call main_bsp from kernel_image_start().
Prepare for IA-64 context_save and context_restore. |
|