Rev |
Age |
Author |
Path |
Log message |
Diff |
173 |
7011 d 23 h |
jermar |
/SPARTAN/trunk/ |
Preparations for weaker preemption model.
Make all kernel stacks (i.e. startup, scheduler and thread) be STACK_SIZE bytes long.
Reincarnate "the" structure. This time, it is planned to be located at the base of each and every kernel stack.
On IA-32 and MIPS, implement get_stack_base() functions. On the rest of supported platforms, define it to be dummy. |
|
118 |
7082 d 1 h |
jermar |
/SPARTAN/trunk/ |
Replace confusing comment in scheduler.c.
Add warning/explanatory comment to arch.h saying that CPU, THREAD and TASK macros are preemption-unsafe. |
|
32 |
7131 d 22 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
26 |
7137 d 5 h |
jermar |
/SPARTAN/trunk/ |
Code cleanup after arch_init() splitting.
Restore %ds and %es registers before iret. |
|
23 |
7140 d 3 h |
jermar |
/SPARTAN/trunk/ |
Fix wrong order of *_init() function calls. |
|
20 |
7146 d 6 h |
jermar |
/SPARTAN/trunk/ |
Smarter definition of CPU macro. |
|
16 |
7149 d 3 h |
jermar |
/SPARTAN/trunk/ |
Switch from mm-based 'the' mechanism to macro-based 'cpu_private_data[CPU_ID_ARCH]' mechanism.
Added l_apic_id() and some other minor APIC changes.
Move gdtr to K_DATA_START section.
Move K_DATA_START section immediately behind K_TEXT_START section so that real-mode addresses work even with growing size of kernel code. |
|
15 |
7150 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 |
7200 d 2 h |
jermar |
/SPARTAN/ |
Initial import |
|