Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
81 |
7033 d 9 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(). |
|
/SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/smp/apic.h /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/asm.S /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/test/synch/rwlock4/test.c
|
80 |
7033 d 11 h |
vana |
/SPARTAN/trunk/ |
Fix page fault caused by dereferencing NULL pointer. |
|
/SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/src/Makefile.config
|
78 |
7037 d 8 h |
jermar |
/SPARTAN/trunk/ |
IA-64 cosmetics.
Add ski_init_console() and ski_putchar() to ski.c to perform ski specific tasks.
Change the copyright string in main.c to display both copyrights on a new line. |
|
/SPARTAN/trunk/arch/ia64/src/ski /SPARTAN/trunk/arch/ia64/src/ski/ski.c
/SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/include/ski/ski.h /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/ia64/src/ia64.c /SPARTAN/trunk/arch/ia64/src/putchar.c /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/src/main/main.c
|
77 |
7037 d 9 h |
jermar |
/SPARTAN/trunk/ |
Add %P and %p formatters to printf for printing pointers in maximum bit width.
Add %Q and %q formatters to printf for printing 64-bit integers. |
|
/SPARTAN/trunk/include/print.h /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/main/main.c
|
76 |
7038 d 9 h |
jermar |
/SPARTAN/trunk/ |
For each architecture, add function/macro FADDR that calculates absolute address of a function referenced by void (* f)(void).
IA-32 and MIPS gcc's use direct addressing (f == FADDR(f)) while IA-64 gcc uses indirect addressing (f != FADDR(f)).
Tweaks in IA-64 Makefile.inc to declare constant gp and main Makefile to consider ASFLAGS when compiling .s targets. |
|
/SPARTAN/trunk/arch/ia32/include/faddr.h /SPARTAN/trunk/arch/ia64/include/faddr.h /SPARTAN/trunk/arch/mips/include/faddr.h
/SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
75 |
7038 d 11 h |
vana |
/SPARTAN/trunk/ |
Move fpu_owner pointer from cpu_arch_t to cpu_t. |
|
/SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/proc/scheduler.c
|
73 |
7039 d 8 h |
vana |
/SPARTAN/trunk/ |
Finished FPU lazy context switching - first version. I have not tested it and there are many things which must be changed when
it runs first time OK. |
|
/SPARTAN/trunk/arch/ia32/include/interrupt.h /SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/doc/TODO /SPARTAN/trunk/include/fpu_context.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
72 |
7039 d 9 h |
decky |
/SPARTAN/trunk/ |
size_t usage
const qualifier
code cleanup |
|
/SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/include/func.h /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/include/mm/heap.h /SPARTAN/trunk/include/mm/vm.h /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/lib/memstr.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c
|
71 |
7039 d 9 h |
jermar |
/SPARTAN/trunk/src/main/ |
Declare 'HelenOS project' as the copyright holder from 2005. |
|
/SPARTAN/trunk/src/main/main.c
|
68 |
7039 d 10 h |
decky |
/SPARTAN/trunk/ |
NDEBUG debug symbol, ASSERT debug macro, fancier panic() in debug mode
indentation fixes, ASSERTs |
|
/SPARTAN/trunk/arch/ia32/src/debug/panic.s /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/mips/src/cache.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/interrupt.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/mips/src/panic.s /SPARTAN/trunk/include/list.h /SPARTAN/trunk/include/panic.h /SPARTAN/trunk/include/print.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/frame.c /SPARTAN/trunk/src/mm/heap.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/time/timeout.c
|
67 |
7039 d 10 h |
decky |
/SPARTAN/trunk/ |
typedef short bool (as logical type), defines of false and true
const qualifier for list_member() |
|
/SPARTAN/trunk/include/list.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/lib/list.c
|
66 |
7039 d 10 h |
jermar |
/SPARTAN/trunk/src/debug/ |
Correct typo - threated vs. treated. |
|
/SPARTAN/trunk/src/debug/print.c
|
63 |
7039 d 12 h |
decky |
/SPARTAN/trunk/ |
const qualifier for print functions |
|
/SPARTAN/trunk/arch/ia32/include/ega.h /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia64/src/putchar.c /SPARTAN/trunk/arch/mips/src/putchar.c /SPARTAN/trunk/include/print.h /SPARTAN/trunk/include/putchar.h /SPARTAN/trunk/src/debug/print.c
|
62 |
7039 d 13 h |
decky |
/SPARTAN/trunk/src/lib/ |
doxygen-style comments |
|
/SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/lib/list.c /SPARTAN/trunk/src/lib/memstr.c
|
61 |
7039 d 13 h |
decky |
/SPARTAN/trunk/src/debug/ |
doxygen-style comments |
|
/SPARTAN/trunk/src/debug/print.c
|
59 |
7040 d 5 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(). |
|
/SPARTAN/trunk/arch/ia64/src/asm.S /SPARTAN/trunk/src/lib/memstr.c
/SPARTAN/trunk/arch/mips/src/lib
/SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/src/asm.s /SPARTAN/trunk/include/memstr.h /SPARTAN/trunk/src/Makefile
|
57 |
7042 d 6 h |
vana |
/SPARTAN/trunk/ |
Begin support for FPU context switching on platforms which can't do it in lazy way. |
|
/SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/arch/powerpc/src/fpu_context.c /SPARTAN/trunk/include/fpu_context.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/proc/scheduler.c
|
52 |
7042 d 7 h |
vana |
/SPARTAN/trunk/ |
Move fpu_context switching functions from context.s to fpu_context.c on all platforms.
Add fpu_context.h.
Make before_thread_runs() arch-independent and create arch dependent version before_thread_runs_arch(). |
|
/SPARTAN/trunk/arch/ia32/src/fpu_context.c /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/arch/powerpc/src/fpu_context.c /SPARTAN/trunk/include/fpu_context.h
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia32/src/proc/scheduler.c /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/src/fake.s /SPARTAN/trunk/arch/powerpc/Makefile.inc /SPARTAN/trunk/include/context.h /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/proc/scheduler.c
|
47 |
7042 d 15 h |
jermar |
/SPARTAN/trunk/src/main/ |
Remove redundant comments. |
|
/SPARTAN/trunk/src/main/main.c
|
46 |
7042 d 16 h |
vana |
/SPARTAN/trunk/ |
Remove fpu_context pointer from context_t.
Add fpu_context statically to thread_t.
Two functions for saving and restoring FPU context on lazy switch. |
|
/SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/main.c
|
44 |
7042 d 19 h |
vana |
/SPARTAN/trunk/src/ |
JV's first commit :-) |
|
/SPARTAN/trunk/src/Makefile.config
|
43 |
7043 d 8 h |
jermar |
/SPARTAN/trunk/src/ |
Add comfortable build and cleanup scripts for ia32, ia64 and mips architectures. |
|
/SPARTAN/trunk/src/build.ia32 /SPARTAN/trunk/src/build.ia64 /SPARTAN/trunk/src/build.mips /SPARTAN/trunk/src/clean.ia32 /SPARTAN/trunk/src/clean.ia64 /SPARTAN/trunk/src/clean.mips
|
42 |
7043 d 8 h |
jermar |
/SPARTAN/trunk/ |
Add stdarg.h to support variable argument list functions on architectures with compiler support for __builtin_va_*.
stackarg.h is kept for those architectures which lack that kind of support and for testing purposes.
Make printing functions use the __native type and support the maximum integer width. |
|
/SPARTAN/trunk/include/stdarg.h
/SPARTAN/trunk/arch/ia64/include/arg.h /SPARTAN/trunk/include/print.h /SPARTAN/trunk/src/debug/print.c
|
40 |
7044 d 17 h |
jermar |
/SPARTAN/trunk/ |
Variable argument list support for architectures passing arguments on stack. |
|
/SPARTAN/trunk/arch/ia32/include/arg.h /SPARTAN/trunk/arch/ia64/include/arg.h /SPARTAN/trunk/arch/mips/include/arg.h /SPARTAN/trunk/include/stackarg.h
/SPARTAN/trunk/arch/ia32/include/types.h /SPARTAN/trunk/arch/ia64/include/types.h /SPARTAN/trunk/arch/mips/include/types.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/debug/print.c
|
37 |
7047 d 18 h |
jermar |
/SPARTAN/trunk/ |
More IA-64 work.
IA-64 putchar() for Ski simulator.
Linker script changes. |
|
/SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/src/putchar.c /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/main.c
|
35 |
7049 d 18 h |
jermar |
/SPARTAN/trunk/ |
Early support for IA-64 architecture. |
|
/SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/ia64/_link.ld /SPARTAN/trunk/arch/ia64/boot /SPARTAN/trunk/arch/ia64/boot/Makefile /SPARTAN/trunk/arch/ia64/boot/_link.ld /SPARTAN/trunk/arch/ia64/boot/boot.s /SPARTAN/trunk/arch/ia64/include /SPARTAN/trunk/arch/ia64/include/asm.h /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/include/cpu.h /SPARTAN/trunk/arch/ia64/include/interrupt.h /SPARTAN/trunk/arch/ia64/include/mm /SPARTAN/trunk/arch/ia64/include/mm/frame.h /SPARTAN/trunk/arch/ia64/include/mm/page.h /SPARTAN/trunk/arch/ia64/include/mm/vm.h /SPARTAN/trunk/arch/ia64/include/smp /SPARTAN/trunk/arch/ia64/include/smp/atomic.h /SPARTAN/trunk/arch/ia64/include/thread.h /SPARTAN/trunk/arch/ia64/include/types.h /SPARTAN/trunk/arch/ia64/src /SPARTAN/trunk/arch/ia64/src/fake.s /SPARTAN/trunk/arch/ia64/src/start.S /SPARTAN/trunk/doc/arch /SPARTAN/trunk/doc/arch/ia64 /SPARTAN/trunk/doc/arch/mips
/SPARTAN/trunk/doc/mips
/SPARTAN/trunk/doc/requirements /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/task.c
|
34 |
7050 d 13 h |
jermar |
/SPARTAN/trunk/ |
More ACPI work.
Initial MADT table parsing.
SMP renaming and reorganization to reflect there are more ways to bring SMP up. |
|
/SPARTAN/trunk/arch/ia32/include/smp/mps.h /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/include/smp/smp.h
/SPARTAN/trunk/arch/ia32/include/smp/mp.h /SPARTAN/trunk/arch/ia32/src/smp/mp.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/acpi/madt.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/acpi/madt.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c
|
32 |
7053 d 8 h |
jermar |
/SPARTAN/trunk/ |
ACPI detection code.
MP detection code rewrite.
Minor changes. |
|
/SPARTAN/trunk/arch/ia32/include/acpi/acpi.h /SPARTAN/trunk/arch/ia32/src/acpi/acpi.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/func.h /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/tlb.c
|
31 |
7054 d 13 h |
jermar |
/SPARTAN/trunk/ |
Replace the deadlock-prone TLB shootdown algorithm with a deadlock-free implementation.
The implementation is a variant of the CMU TLB consistency algorithm.
Very inefficient implementation of a very inefficient (but correct) algorithm. |
|
/SPARTAN/trunk/arch/ia32/src/bios/bios.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/mm/tlb.c /SPARTAN/trunk/src/mm/vm.c
|
28 |
7055 d 17 h |
jermar |
/SPARTAN/trunk/ |
Small improvements. |
|
/SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/kinit.c
|
27 |
7056 d 8 h |
jermar |
/SPARTAN/trunk/ |
APIC changes and fixes.
Be more robust during MP configuration.
Do not use APIC ID as CPU_ID_ARCH anymore.
Changing APIC ID's is not a good idea.
Use dr0 register instead. |
|
/SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/include/smp/apic.h /SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/mp.c /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/main.c
|
26 |
7058 d 15 h |
jermar |
/SPARTAN/trunk/ |
Code cleanup after arch_init() splitting.
Restore %ds and %es registers before iret. |
|
/SPARTAN/trunk/arch/ia32/src/asm.s /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/main/main.c
|
25 |
7058 d 19 h |
jermar |
/SPARTAN/trunk/src/ |
Fix waitq_sleep_timeout() to call before_thread_runs() when handling timeout. |
|
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/synch/waitq.c
|
24 |
7061 d 10 h |
jermar |
/SPARTAN/trunk/ |
Small fixes. |
|
/SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/src/cpu/cpu.c
|
23 |
7061 d 13 h |
jermar |
/SPARTAN/trunk/ |
Fix wrong order of *_init() function calls. |
|
/SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/mm/page.c
|
22 |
7063 d 11 h |
jermar |
/SPARTAN/trunk/ |
Added before_thread_runs() to cope with TSS of user space tasks. |
|
/SPARTAN/trunk/arch/ia32/src/proc /SPARTAN/trunk/arch/ia32/src/proc/scheduler.c
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/mips/src/fake.s /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
20 |
7067 d 15 h |
jermar |
/SPARTAN/trunk/ |
Smarter definition of CPU macro. |
|
/SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/src/cpu/cpu.c
|
19 |
7070 d 9 h |
jermar |
/SPARTAN/trunk/ |
Re-enable tests and fix include paths' in them. |
|
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/test/synch/rwlock1/test.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|
16 |
7070 d 13 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. |
|
/SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/_link.ld /SPARTAN/trunk/arch/ia32/boot/boot.ld /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/include/smp/apic.h /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/pm.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/mips/include/cpu.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/cpu.h /SPARTAN/trunk/include/typedefs.h /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/thread.c
|
15 |
7071 d 11 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. |
|
/SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/drivers/i8042.c /SPARTAN/trunk/arch/ia32/src/drivers/i8254.c /SPARTAN/trunk/arch/ia32/src/drivers/i8259.c /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/mips/src/cpu/cpu.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/src/cpu/cpu.c /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/main/kinit.c /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/task.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/spinlock.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/src/time/clock.c /SPARTAN/trunk/src/time/delay.c /SPARTAN/trunk/src/time/timeout.c /SPARTAN/trunk/test/synch/rwlock2/test.c /SPARTAN/trunk/test/synch/rwlock3/test.c /SPARTAN/trunk/test/synch/rwlock4/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c /SPARTAN/trunk/test/synch/semaphore1/test.c /SPARTAN/trunk/test/synch/semaphore2/test.c
|