Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1062 |
6729 d 22 h |
jermar |
/kernel/trunk/ |
It is now possible to associate symbolic names with both threads and tasks.
More verbose kconsole threads, tasks and scheduler commands. |
|
/kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c /kernel/trunk/test/mm/falloc2/test.c /kernel/trunk/test/mm/slab1/test.c /kernel/trunk/test/mm/slab2/test.c /kernel/trunk/test/synch/rwlock2/test.c /kernel/trunk/test/synch/rwlock3/test.c /kernel/trunk/test/synch/rwlock4/test.c /kernel/trunk/test/synch/rwlock5/test.c /kernel/trunk/test/synch/semaphore1/test.c /kernel/trunk/test/synch/semaphore2/test.c /kernel/trunk/test/thread/thread1/test.c
|
1007 |
6731 d 8 h |
decky |
/kernel/trunk/ |
ppc32: preemptive scheduling works now
FPU context saving disabled for now |
|
/kernel/trunk/arch/ppc32/include/asm.h /kernel/trunk/arch/ppc32/include/context.h /kernel/trunk/arch/ppc32/include/interrupt.h /kernel/trunk/arch/ppc32/src/asm.S /kernel/trunk/arch/ppc32/src/boot/boot.S /kernel/trunk/arch/ppc32/src/dummy.s /kernel/trunk/arch/ppc32/src/fpu_context.S /kernel/trunk/arch/ppc32/src/interrupt.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/generic/src/proc/scheduler.c
|
907 |
6743 d 8 h |
palkovsky |
/kernel/trunk/generic/src/proc/ |
Correct sleeping on memory allocation during FPU lazy switch. |
|
/kernel/trunk/generic/src/proc/scheduler.c
|
906 |
6743 d 20 h |
palkovsky |
/kernel/trunk/ |
Added lazy fpu context allocation.
- threads that don't use fpu, don't get allocated fpu context
- fpu context alignment on AMD64 nicely disappeared |
|
/kernel/trunk/arch/amd64/src/fpu_context.c /kernel/trunk/arch/ia32/include/fpu_context.h /kernel/trunk/arch/ia32/src/fpu_context.c /kernel/trunk/arch/mips32/include/fpu_context.h /kernel/trunk/arch/mips32/src/fpu_context.c /kernel/trunk/generic/include/fpu_context.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c
|
898 |
6746 d 7 h |
jermar |
/kernel/trunk/ |
Minor changes. |
|
/kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/generic/src/proc/scheduler.c
|
897 |
6746 d 20 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse. |
|
/kernel/trunk/arch/sparc64/src/proc /kernel/trunk/arch/sparc64/src/proc/scheduler.c
/kernel/trunk/arch/amd64/src/proc/scheduler.c /kernel/trunk/arch/ia32/src/proc/scheduler.c /kernel/trunk/arch/ia64/src/dummy.s /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/dummy.s /kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/drivers/i8042.h /kernel/trunk/arch/sparc64/include/mm/tlb.h /kernel/trunk/arch/sparc64/include/trap/exception.h /kernel/trunk/arch/sparc64/src/console.c /kernel/trunk/arch/sparc64/src/mm/tlb.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/arch/sparc64/src/trap/exception.c /kernel/trunk/arch/sparc64/src/trap/trap_table.S /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/src/proc/scheduler.c
|
827 |
6764 d 21 h |
palkovsky |
/kernel/trunk/ |
Unimportant changes regarding FPU context. |
|
/kernel/trunk/arch/amd64/src/fpu_context.c /kernel/trunk/arch/ia32/src/fpu_context.c /kernel/trunk/arch/mips32/src/fpu_context.c /kernel/trunk/generic/include/fpu_context.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/test/fpu/fpu1/test.c /kernel/trunk/test/fpu/mips1/test.c /kernel/trunk/test/fpu/sse1/test.c
|
823 |
6765 d 20 h |
jermar |
/kernel/trunk/ |
Reimplement ASID stealing logic.
This time, hopefully, with correct synchronization. |
|
/kernel/trunk/arch/ia32/include/mm/asid.h /kernel/trunk/arch/ia64/src/mm/frame.c /kernel/trunk/arch/ppc32/include/mm/asid.h /kernel/trunk/arch/sparc64/src/mm/frame.c /kernel/trunk/genarch/src/mm/asid.c /kernel/trunk/genarch/src/mm/page_ht.c /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/asid.h /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/proc/scheduler.c
|
814 |
6766 d 7 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
/kernel/trunk/generic/include/mm/heap.h /kernel/trunk/generic/src/mm/heap.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/include/types.h /kernel/trunk/arch/amd64/src/mm/page.c /kernel/trunk/arch/amd64/src/pm.c /kernel/trunk/arch/ia32/include/types.h /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/pm.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/include/types.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/frame.c /kernel/trunk/contrib/conf/msim.conf /kernel/trunk/genarch/src/acpi/matd.c /kernel/trunk/genarch/src/mm/as_pt.c /kernel/trunk/genarch/src/mm/page_pt.c /kernel/trunk/generic/include/mm/buddy.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/adt/hash_table.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/lib/sort.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/test/mm/falloc1/test.c /kernel/trunk/test/mm/falloc2/test.c
|
788 |
6769 d 2 h |
jermar |
/kernel/trunk/ |
Move list and fifo data types to adt/. |
|
/kernel/trunk/generic/include/adt /kernel/trunk/generic/include/adt/fifo.h /kernel/trunk/generic/include/adt/list.h /kernel/trunk/generic/src/adt /kernel/trunk/generic/src/adt/list.c
/kernel/trunk/generic/include/fifo.h /kernel/trunk/generic/include/list.h /kernel/trunk/generic/src/lib/list.c
/kernel/trunk/Makefile /kernel/trunk/genarch/src/mm/asid.c /kernel/trunk/genarch/src/mm/asid_fifo.c /kernel/trunk/generic/include/console/kconsole.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/include/time/timeout.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/mm/as.c /kernel/trunk/generic/src/mm/buddy.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/time/clock.c
|
787 |
6769 d 3 h |
palkovsky |
/kernel/trunk/generic/ |
Added constructor/destructor calls to SLAB.
Changed allocation of thread_t structure to use SLAB. |
|
/kernel/trunk/generic/include/mm/slab.h /kernel/trunk/generic/include/print.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/spinlock.c
|
785 |
6769 d 5 h |
jermar |
/kernel/trunk/generic/src/ |
Comments clarification. |
|
/kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c
|
784 |
6769 d 6 h |
palkovsky |
/kernel/trunk/generic/src/proc/ |
Cleanup of scheduler code |
|
/kernel/trunk/generic/src/proc/scheduler.c
|
783 |
6769 d 6 h |
palkovsky |
/kernel/trunk/generic/ |
Fixed some typos in slab allocator.
Scheduler now has better algorithm on load balancing.
Unfortunately it reveals deadlock in slab allocator :-/ |
|
/kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c
|
779 |
6769 d 23 h |
jermar |
/kernel/trunk/generic/ |
Simplify load balancing activation.
This in fact removes the livelock that prevented cpu_sleep() to be called in SMP systems. |
|
/kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/src/cpu/cpu.c /kernel/trunk/generic/src/proc/scheduler.c
|
775 |
6770 d 6 h |
palkovsky |
/kernel/trunk/generic/ |
Added scheduler queues output. The scheduler is buggy - on SMP
the cpus never get tu cpu_sleep, in slab2 test on 4 cpus everything
is on the first cpu.
The slab allocator passes tests in this configuration, but in slightly
different(more efficient) locking order it panics. TODO: Find out why
does it panic. |
|
/kernel/trunk/generic/include/proc/scheduler.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/mm/slab.c /kernel/trunk/generic/src/proc/scheduler.c
|
703 |
6792 d 7 h |
jermar |
/kernel/trunk/ |
Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping(). |
|
/kernel/trunk/arch/amd64/include/mm/as.h /kernel/trunk/arch/ia32/include/mm/as.h /kernel/trunk/arch/ia64/include/mm/as.h /kernel/trunk/arch/mips32/include/mm/as.h /kernel/trunk/arch/mips32/src/mm/as.c /kernel/trunk/arch/ppc32/include/mm/as.h /kernel/trunk/arch/sparc64/include/mm/as.h /kernel/trunk/generic/include/mm/as.h /kernel/trunk/generic/src/mm/as.c
/kernel/trunk/arch/amd64/include/mm/vm.h /kernel/trunk/arch/ia32/include/mm/vm.h /kernel/trunk/arch/ia64/include/mm/vm.h /kernel/trunk/arch/mips32/include/mm/vm.h /kernel/trunk/arch/mips32/src/mm/vm.c /kernel/trunk/arch/ppc32/include/mm/vm.h /kernel/trunk/arch/sparc64/include/mm/vm.h /kernel/trunk/generic/include/mm/vm.h /kernel/trunk/generic/src/mm/vm.c
/kernel/trunk/Makefile /kernel/trunk/arch/amd64/src/interrupt.c /kernel/trunk/arch/amd64/src/userspace.c /kernel/trunk/arch/ia32/src/interrupt.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/userspace.c /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/mips32/src/mm/tlb.c /kernel/trunk/doc/mm /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/include/proc/task.h /kernel/trunk/generic/include/typedefs.h /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/page.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/task.c /kernel/trunk/generic/src/proc/the.c
|
675 |
6801 d 7 h |
jermar |
/kernel/trunk/generic/src/ |
Clean up. |
|
/kernel/trunk/generic/src/debug/print.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/proc/scheduler.c
|
650 |
6816 d 21 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Implement interrupt_disable(), interrupt_enable(), interrupt_restore() and interrupt_read() functions.
Fix context save/restore to save/restore register %i7. |
|
/kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/include/register.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/arch/sparc64/src/dummy.s /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/src/proc/scheduler.c
|
631 |
6820 d 23 h |
palkovsky |
/kernel/trunk/ |
Fixed cpu halting in debug panic mode. |
|
/kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/mips32/src/debugger.c /kernel/trunk/generic/include/func.h /kernel/trunk/generic/src/console/console.c /kernel/trunk/generic/src/lib/func.c /kernel/trunk/generic/src/proc/scheduler.c
|
625 |
6821 d 4 h |
palkovsky |
/kernel/trunk/ |
We are now almost -Wall clean.
- redefined atomic_t
- deleted many, many unused variables
- some minor code cleanups found using compiler warning. |
|
/kernel/trunk/arch/amd64/include/asm.h /kernel/trunk/arch/amd64/src/cpu/cpu.c /kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/arch/ia32/src/fmath.c /kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia32/src/smp/smp.c /kernel/trunk/arch/ia64/include/atomic.h /kernel/trunk/arch/mips32/include/atomic.h /kernel/trunk/arch/mips32/src/drivers/arc.c /kernel/trunk/arch/mips32/src/drivers/serial.c /kernel/trunk/arch/ppc32/include/atomic.h /kernel/trunk/arch/sparc64/include/atomic.h /kernel/trunk/generic/include/cpu.h /kernel/trunk/generic/include/debug.h /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/cmd.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/debug/symtab.c /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c /kernel/trunk/generic/src/mm/vm.c /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/test/synch/rwlock4/test.c
|
557 |
6829 d 7 h |
jermar |
/kernel/trunk/ |
Add comments describing locking rules for some locks.
Cleanup. |
|
/kernel/trunk/arch/ia32/include/atomic.h /kernel/trunk/generic/include/proc/thread.h /kernel/trunk/generic/include/synch/waitq.h /kernel/trunk/generic/src/proc/scheduler.c /kernel/trunk/generic/src/proc/thread.c /kernel/trunk/generic/src/synch/rwlock.c /kernel/trunk/generic/src/synch/spinlock.c /kernel/trunk/generic/src/synch/waitq.c
|
534 |
6832 d 0 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6832 d 1 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
501 |
6844 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
483 |
6852 d 0 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/mips32/include/cpu.h /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/generic/include/arch.h /SPARTAN/trunk/generic/include/config.h /SPARTAN/trunk/generic/include/cpu.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/include/synch/rwlock.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/test/fpu/fpu1/test.c /SPARTAN/trunk/test/fpu/mips1/test.c /SPARTAN/trunk/test/fpu/sse1/test.c /SPARTAN/trunk/test/synch/rwlock5/test.c
|
475 |
6856 d 6 h |
jermar |
/SPARTAN/trunk/ |
Define atomic_t type. |
|
/SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/ppc32/include/atomic.h /SPARTAN/trunk/arch/sparc64/include/atomic.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/proc/thread.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
|
458 |
6858 d 8 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/smp/ap.S /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia32/src/atomic.S /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/smp/apic.c /SPARTAN/trunk/arch/ia32/src/smp/ipi.c /SPARTAN/trunk/arch/ia32/src/smp/mps.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/src/exception.c /SPARTAN/trunk/genarch/src/acpi/matd.c /SPARTAN/trunk/generic/include/cpu.h /SPARTAN/trunk/generic/include/mm/tlb.h /SPARTAN/trunk/generic/include/smp/ipi.h /SPARTAN/trunk/generic/include/smp/smp.h /SPARTAN/trunk/generic/include/synch/spinlock.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/main/kinit.c /SPARTAN/trunk/generic/src/main/main.c /SPARTAN/trunk/generic/src/mm/tlb.c /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/smp/ipi.c /SPARTAN/trunk/generic/src/synch/spinlock.c
|
452 |
6859 d 0 h |
decky |
/SPARTAN/trunk/ |
major build system revision (unfinished)
this patchset most definitively breaks a lot of things, be patient |
|
/SPARTAN/trunk/clean /SPARTAN/trunk/genarch/include/acpi /SPARTAN/trunk/genarch/include/acpi/acpi.h /SPARTAN/trunk/genarch/include/acpi/madt.h /SPARTAN/trunk/genarch/src/acpi /SPARTAN/trunk/genarch/src/acpi/acpi.c /SPARTAN/trunk/genarch/src/acpi/matd.c
/SPARTAN/trunk/build.amd64 /SPARTAN/trunk/build.ia64 /SPARTAN/trunk/build.mips32 /SPARTAN/trunk/build.ppc32 /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.amd64 /SPARTAN/trunk/clean.ia32 /SPARTAN/trunk/clean.ia64 /SPARTAN/trunk/clean.mips32 /SPARTAN/trunk/clean.ppc32 /SPARTAN/trunk/clean.sparc64 /SPARTAN/trunk/genarch/include/firmware/acpi /SPARTAN/trunk/genarch/src/firmware/acpi
/SPARTAN/trunk/Makefile /SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/amd64.c /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/include/ega.h /SPARTAN/trunk/arch/ia32/src/cpu/cpu.c /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/ia32.c /SPARTAN/trunk/arch/ia32/src/smp/smp.c /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/generic/include/print.h /SPARTAN/trunk/generic/include/proc/scheduler.h /SPARTAN/trunk/generic/include/proc/thread.h /SPARTAN/trunk/generic/src/debug/print.c /SPARTAN/trunk/generic/src/main/kinit.c /SPARTAN/trunk/generic/src/proc/scheduler.c /SPARTAN/trunk/generic/src/proc/thread.c
|
430 |
6864 d 22 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
/SPARTAN/trunk/generic /SPARTAN/trunk/generic/include /SPARTAN/trunk/generic/src
/SPARTAN/trunk/include /SPARTAN/trunk/src
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips32/Makefile.inc /SPARTAN/trunk/arch/mips32/boot/Makefile /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/genarch/Makefile.inc /SPARTAN/trunk/generic/src/main/kinit.c
|
414 |
6879 d 11 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. |
|
/SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/src/context.S /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/src/context.s /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/src/context.S /SPARTAN/trunk/arch/ppc32/include/context.h /SPARTAN/trunk/arch/ppc32/src/context.S /SPARTAN/trunk/include/context.h /SPARTAN/trunk/src/main/main.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/waitq.c /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/mips32/gencontext.c
|
413 |
6879 d 21 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. |
|
/SPARTAN/trunk/arch/amd64/include/asm.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/types.h /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/amd64/src/userspace.c /SPARTAN/trunk/arch/ia32/include/asm.h /SPARTAN/trunk/arch/ia32/include/context.h /SPARTAN/trunk/arch/ia32/include/types.h /SPARTAN/trunk/arch/ia32/src/drivers/ega.c /SPARTAN/trunk/arch/ia32/src/interrupt.c /SPARTAN/trunk/arch/ia32/src/userspace.c /SPARTAN/trunk/arch/ia64/include/context.h /SPARTAN/trunk/arch/ia64/include/types.h /SPARTAN/trunk/arch/ia64/src/context.S /SPARTAN/trunk/arch/ia64/src/dummy.s /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/include/types.h /SPARTAN/trunk/arch/mips32/src/drivers/arc.c /SPARTAN/trunk/arch/mips32/src/exception.c /SPARTAN/trunk/arch/mips32/src/interrupt.c /SPARTAN/trunk/arch/mips32/src/mips32.c /SPARTAN/trunk/arch/mips32/src/mm/asid.c /SPARTAN/trunk/arch/mips32/src/mm/tlb.c /SPARTAN/trunk/arch/mips32/src/mm/vm.c /SPARTAN/trunk/arch/ppc32/include/asm.h /SPARTAN/trunk/arch/ppc32/include/context.h /SPARTAN/trunk/arch/ppc32/include/types.h /SPARTAN/trunk/include/arch.h /SPARTAN/trunk/include/proc/thread.h /SPARTAN/trunk/src/debug/print.c /SPARTAN/trunk/src/lib/func.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/proc/task.c /SPARTAN/trunk/src/proc/thread.c /SPARTAN/trunk/src/synch/rwlock.c /SPARTAN/trunk/src/synch/semaphore.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/rwlock4/test.c /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/mips32/gencontext.c
|
378 |
6899 d 7 h |
jermar |
/SPARTAN/trunk/ |
Redeclare eraly_malloc() with __attribute__ ((malloc)) to improve optimizations.
Reorganize #include's in scheduler.c.
Buddy system improvements.
Make buddy_system_free() explicitly invalidate order of blocks before they are coalesced.
Add some assertions. |
|
/SPARTAN/trunk/include/mm/buddy.h /SPARTAN/trunk/include/mm/heap.h /SPARTAN/trunk/src/mm/buddy.c /SPARTAN/trunk/src/proc/scheduler.c
|
309 |
6921 d 10 h |
palkovsky |
/SPARTAN/trunk/ |
Added architecture independent hooks for fpu lazy context switching.
It is enabled by defining FPU_LAZY |
|
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/include/cpu.h /SPARTAN/trunk/arch/amd64/src/cpu/cpu.c /SPARTAN/trunk/arch/amd64/src/fpu_context.c /SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia32/Makefile.inc.cross /SPARTAN/trunk/arch/ia32/include/cpu.h /SPARTAN/trunk/arch/ia32/include/fpu_context.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/arch/ia64/src/dummy.s /SPARTAN/trunk/arch/ia64/src/fpu_context.c /SPARTAN/trunk/arch/mips/src/dummy.s /SPARTAN/trunk/arch/mips/src/fpu_context.c /SPARTAN/trunk/arch/ppc/src/dummy.s /SPARTAN/trunk/arch/ppc/src/fpu_context.c /SPARTAN/trunk/include/fpu_context.h /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/proc/scheduler.c
|
258 |
6924 d 10 h |
palkovsky |
/SPARTAN/trunk/src/proc/ |
Fixed retyping, so that it compiles with gcc 4.0.2 |
|
/SPARTAN/trunk/src/proc/scheduler.c
|
248 |
6925 d 2 h |
jermar |
/SPARTAN/trunk/ |
Make atomic_dec() and atomic_inc() take (volatile int *) argument, not (volatile count_t *). |
|
/SPARTAN/trunk/arch/amd64/include/atomic.h /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
241 |
6926 d 1 h |
palkovsky |
/SPARTAN/trunk/ |
Cleanups so that it compiles on ia-32 & amd-64 cleanly |
|
/SPARTAN/trunk/arch/amd64/include/atomic.h /SPARTAN/trunk/arch/amd64/src/fmath.c /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
227 |
6926 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. |
|
/SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/include/proc/scheduler.h /SPARTAN/trunk/src/lib/func.c /SPARTAN/trunk/src/mm/vm.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|
214 |
6926 d 22 h |
vana |
/SPARTAN/trunk/src/ |
|
|
/SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/proc/scheduler.c
|
213 |
6926 d 22 h |
jermar |
/SPARTAN/trunk/ |
Add some comments. |
|
/SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/src/proc/scheduler.c /SPARTAN/trunk/src/proc/thread.c
|