Rev |
Age |
Author |
Path |
Log message |
Diff |
2787 |
6080 d 2 h |
decky |
/branches/tracing/ |
add dynamic linking, debugging and tracing branch |
|
2774 |
6092 d 10 h |
cejka |
/trunk/kernel/arch/ |
Context.s renamed to context.S for ia32 and fixed links for ia32xen.
Added asm macros for context save/restore and offset definitions. |
|
2441 |
6380 d 21 h |
decky |
/trunk/kernel/ |
fix ICC compilation |
|
2083 |
6510 d 5 h |
decky |
/trunk/kernel/ |
typedef elimination |
|
2071 |
6514 d 22 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1888 |
6640 d 2 h |
jermar |
/trunk/ |
C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64. |
|
1787 |
6705 d 0 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1780 |
6712 d 1 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1702 |
6733 d 4 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
534 |
6923 d 23 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6923 d 23 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6936 d 4 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
414 |
6971 d 9 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 |
6971 d 19 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. |
|
354 |
7001 d 4 h |
jermar |
/SPARTAN/trunk/ |
Physical memory management work.
Define structures for frame zones and frames.
Add some comments. |
|
312 |
7012 d 21 h |
jermar |
/SPARTAN/trunk/arch/ia32/ |
According to IA-32 ABI, %edx and %ecx don't have to be saved accross function calls.
Remove these registers from context_t and adjust context_save() and context_restore() to make use of this fact. |
|
180 |
7020 d 22 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. |
|
82 |
7124 d 20 h |
jermar |
/SPARTAN/trunk/arch/ |
IA-64 work.
Add the rest of branch registers to context_t.
Add predicate registers to context_t.
Modify context_save()/context_restore() to save/restore branch registers and predicate registers.
Change SP_DELTA to 0 since both context_save() and context_restore() are leaf procedures and as such don't use the scratch area.
Change pri_t to be __u64 instead of __u32. |
|
81 |
7124 d 22 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 |
7133 d 19 h |
vana |
/SPARTAN/trunk/ |
Added fpu_context.h arch dep files and removed struct fpu_context from context.h files |
|