Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
554 |
6829 d 8 h |
palkovsky |
/kernel/trunk/ |
Better configuration dialog |
|
/kernel/trunk/kernel.config /kernel/trunk/tools/config.py
|
552 |
6829 d 11 h |
palkovsky |
/kernel/trunk/ |
Named spinlocks |
|
/kernel/trunk/arch/ia32/src/drivers/i8042.c /kernel/trunk/generic/include/synch/spinlock.h /kernel/trunk/generic/src/console/chardev.c /kernel/trunk/generic/src/console/kconsole.c /kernel/trunk/generic/src/mm/frame.c /kernel/trunk/generic/src/mm/heap.c /kernel/trunk/generic/src/mm/tlb.c /kernel/trunk/generic/src/mm/vm.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/spinlock.c /kernel/trunk/generic/src/synch/waitq.c /kernel/trunk/generic/src/time/timeout.c /kernel/trunk/tools/config.py
|
550 |
6829 d 12 h |
palkovsky |
/kernel/trunk/ |
Completely reworked configuration system. |
|
/kernel/trunk/build
/kernel/trunk/build.amd64 /kernel/trunk/build.ia32 /kernel/trunk/build.ia64 /kernel/trunk/build.mips32 /kernel/trunk/build.ppc32 /kernel/trunk/build.sparc64
/kernel/trunk/Makefile /kernel/trunk/arch/ia32/Makefile.inc /kernel/trunk/arch/mips32/Makefile.inc /kernel/trunk/kernel.config /kernel/trunk/tools/build /kernel/trunk/tools/config.py
|
549 |
6829 d 13 h |
palkovsky |
/kernel/trunk/ |
Doc cleanup. |
|
/kernel/trunk/kernel.config /kernel/trunk/tools/clean /kernel/trunk/tools/config.py
|
547 |
6829 d 13 h |
palkovsky |
/kernel/trunk/ |
Added conditions to config system. |
|
/kernel/trunk/kernel.config /kernel/trunk/tools/build /kernel/trunk/tools/config.py
|
545 |
6829 d 15 h |
palkovsky |
/kernel/trunk/ |
Added kernel configuration support. |
|
/kernel/trunk/configure /kernel/trunk/kernel.config /kernel/trunk/tools/config.py
/kernel/trunk/Makefile.config
/kernel/trunk/tools/build
|
534 |
6831 d 13 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6831 d 13 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
528 |
6834 d 12 h |
jermar |
/kernel/trunk/ |
sparc64 work.
The context_save/context_restore needed two other improvements.
First, storing of %fp because of window_fills.
Second, flushing all active windows before CONTEXT_LOAD to make CWP - 1 the overlap window. |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/tools/sparc64/gencontext.c
|
527 |
6834 d 19 h |
jermar |
/kernel/trunk/ |
saprc64 work.
Perform leaf-procedure optimization for context_save and context_restore. |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/tools/sparc64/gencontext.c
|
526 |
6834 d 19 h |
jermar |
/kernel/trunk/ |
sparc64 work.
No need to save/restore local registers. |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/tools/sparc64/gencontext.c
|
501 |
6843 d 18 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
466 |
6857 d 17 h |
jermar |
/SPARTAN/trunk/ |
Rename build.ia32 to tools/build.
Point build.{amd64,ia32,ia64,mips32,ppc32,sparc64} to tools/build.
The same for clean. |
|
/SPARTAN/trunk/tools/build /SPARTAN/trunk/tools/clean
/SPARTAN/trunk/clean
/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
|
426 |
6866 d 19 h |
jermar |
/SPARTAN/trunk/ |
sparc64 work.
Add context_save(), context_set() and context_restore().
Remove putchar() definition from ofw.c.
Add sparc64 putchar().
Add ppc32 putchar() (i.e. the original ofw.c putchar()).
Make arg.h use the builtin va_* constructs. |
|
/SPARTAN/trunk/arch/ppc32/src/console.c /SPARTAN/trunk/arch/sparc64/src/asm.S /SPARTAN/trunk/arch/sparc64/src/console.c /SPARTAN/trunk/arch/sparc64/src/context.S /SPARTAN/trunk/arch/sparc64/src/mm /SPARTAN/trunk/arch/sparc64/src/mm/frame.c /SPARTAN/trunk/arch/sparc64/src/mm/page.c /SPARTAN/trunk/tools/sparc64 /SPARTAN/trunk/tools/sparc64/gencontext.c
/SPARTAN/trunk/arch/mips32/include/arg.h /SPARTAN/trunk/arch/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc /SPARTAN/trunk/arch/sparc64/_link.ld /SPARTAN/trunk/arch/sparc64/include/arg.h /SPARTAN/trunk/arch/sparc64/include/asm.h /SPARTAN/trunk/arch/sparc64/include/context.h /SPARTAN/trunk/arch/sparc64/include/types.h /SPARTAN/trunk/arch/sparc64/src/dummy.s /SPARTAN/trunk/arch/sparc64/src/start.S /SPARTAN/trunk/build.sparc64 /SPARTAN/trunk/clean.sparc64 /SPARTAN/trunk/genarch/include/firmware/ofw/ofw.h /SPARTAN/trunk/genarch/src/firmware/ofw/ofw.c
|
414 |
6878 d 23 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 9 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
|
341 |
6914 d 19 h |
jermar |
/SPARTAN/trunk/ |
Rename mips port to mips32. |
|
/SPARTAN/trunk/arch/mips32 /SPARTAN/trunk/doc/arch/mips32 /SPARTAN/trunk/src/build.mips32 /SPARTAN/trunk/src/build.ppc32 /SPARTAN/trunk/src/clean.mips32 /SPARTAN/trunk/src/clean.ppc32 /SPARTAN/trunk/tools/mips32
/SPARTAN/trunk/arch/mips /SPARTAN/trunk/doc/arch/mips /SPARTAN/trunk/src/build.mips /SPARTAN/trunk/src/build.ppc /SPARTAN/trunk/src/clean.mips /SPARTAN/trunk/src/clean.ppc /SPARTAN/trunk/tools/mips
/SPARTAN/trunk/arch/mips32/boot/_link.ld /SPARTAN/trunk/arch/mips32/include/arch.h /SPARTAN/trunk/arch/mips32/include/arg.h /SPARTAN/trunk/arch/mips32/include/asm.h /SPARTAN/trunk/arch/mips32/include/asm/boot.h /SPARTAN/trunk/arch/mips32/include/asm/regname.h /SPARTAN/trunk/arch/mips32/include/atomic.h /SPARTAN/trunk/arch/mips32/include/barrier.h /SPARTAN/trunk/arch/mips32/include/byteorder.h /SPARTAN/trunk/arch/mips32/include/cache.h /SPARTAN/trunk/arch/mips32/include/console.h /SPARTAN/trunk/arch/mips32/include/context.h /SPARTAN/trunk/arch/mips32/include/cp0.h /SPARTAN/trunk/arch/mips32/include/cpu.h /SPARTAN/trunk/arch/mips32/include/debug.h /SPARTAN/trunk/arch/mips32/include/drivers/arc.h /SPARTAN/trunk/arch/mips32/include/exception.h /SPARTAN/trunk/arch/mips32/include/faddr.h /SPARTAN/trunk/arch/mips32/include/fmath.h /SPARTAN/trunk/arch/mips32/include/fpu_context.h /SPARTAN/trunk/arch/mips32/include/interrupt.h /SPARTAN/trunk/arch/mips32/include/mm/asid.h /SPARTAN/trunk/arch/mips32/include/mm/frame.h /SPARTAN/trunk/arch/mips32/include/mm/memory_init.h /SPARTAN/trunk/arch/mips32/include/mm/page.h /SPARTAN/trunk/arch/mips32/include/mm/tlb.h /SPARTAN/trunk/arch/mips32/include/mm/vm.h /SPARTAN/trunk/arch/mips32/include/thread.h /SPARTAN/trunk/arch/mips32/include/types.h /SPARTAN/trunk/doc/requirements /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/tools/mips32/gencontext.c
|
332 |
6915 d 20 h |
palkovsky |
/SPARTAN/trunk/ |
Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests. |
|
/SPARTAN/trunk/arch/mips/include/drivers /SPARTAN/trunk/arch/mips/include/drivers/arc.h /SPARTAN/trunk/arch/mips/src/drivers /SPARTAN/trunk/arch/mips/src/drivers/arc.c /SPARTAN/trunk/contrib/toolchain/toolchain.mipseb.sh /SPARTAN/trunk/contrib/toolchain/toolchain.mipsel.sh
/SPARTAN/trunk/contrib/toolchain/toolchain.mips.sh
/SPARTAN/trunk/arch/amd64/_link.ld.in /SPARTAN/trunk/arch/amd64/include/byteorder.h /SPARTAN/trunk/arch/amd64/src/asm_utils.S /SPARTAN/trunk/arch/amd64/src/fpu_context.c /SPARTAN/trunk/arch/amd64/src/pm.c /SPARTAN/trunk/arch/ia32/include/byteorder.h /SPARTAN/trunk/arch/ia64/include/byteorder.h /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/mips/_link.ld.in /SPARTAN/trunk/arch/mips/include/byteorder.h /SPARTAN/trunk/arch/mips/include/console.h /SPARTAN/trunk/arch/mips/include/interrupt.h /SPARTAN/trunk/arch/mips/include/types.h /SPARTAN/trunk/arch/mips/src/asm.S /SPARTAN/trunk/arch/mips/src/console.c /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/interrupt.c /SPARTAN/trunk/arch/mips/src/mips.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/ppc/include/byteorder.h /SPARTAN/trunk/src/debug/symtab.c /SPARTAN/trunk/tools/genmap.py
|
318 |
6919 d 23 h |
jermar |
/SPARTAN/trunk/ |
Make AMD64 gencontext.c consistent with MIPS gencontext.c |
|
/SPARTAN/trunk/arch/amd64/src/context.S /SPARTAN/trunk/src/clean.amd64 /SPARTAN/trunk/tools/amd64/gencontext.c
|
317 |
6919 d 23 h |
palkovsky |
/SPARTAN/trunk/ |
MIPS exception now saves all necesssary information only on stack. |
|
/SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/arch/mips/include/exception.h /SPARTAN/trunk/arch/mips/include/mm/tlb.h /SPARTAN/trunk/arch/mips/include/thread.h /SPARTAN/trunk/arch/mips/src/context.S /SPARTAN/trunk/arch/mips/src/exception.c /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/src/clean.mips /SPARTAN/trunk/tools/mips/gencontext.c
|
306 |
6921 d 0 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. |
|
/SPARTAN/trunk/arch/mips/boot/boot.S /SPARTAN/trunk/arch/mips/include/asm/regname.h /SPARTAN/trunk/tools/mips /SPARTAN/trunk/tools/mips/gencontext.c
/SPARTAN/trunk/arch/amd64/include/barrier.h /SPARTAN/trunk/arch/mips/boot/boot.s /SPARTAN/trunk/arch/mips/include/asm/macro.h
/SPARTAN/trunk/arch/amd64/include/arch.h /SPARTAN/trunk/arch/amd64/include/context.h /SPARTAN/trunk/arch/amd64/include/faddr.h /SPARTAN/trunk/arch/amd64/include/thread.h /SPARTAN/trunk/arch/mips/boot/Makefile /SPARTAN/trunk/arch/mips/include/context.h /SPARTAN/trunk/arch/mips/include/mm/page.h /SPARTAN/trunk/arch/mips/src/context.S /SPARTAN/trunk/arch/mips/src/mm/tlb.c /SPARTAN/trunk/arch/mips/src/start.S /SPARTAN/trunk/src/Makefile.config /SPARTAN/trunk/src/build.amd64 /SPARTAN/trunk/src/build.mips /SPARTAN/trunk/src/clean.mips
|
297 |
6921 d 21 h |
palkovsky |
/SPARTAN/trunk/ |
Symtab now contains variables |
|
/SPARTAN/trunk/arch/amd64/src/interrupt.c /SPARTAN/trunk/tools/genmap.py
|
293 |
6922 d 9 h |
palkovsky |
/SPARTAN/trunk/ |
Symbol table now contains static functions too.
NOTE: gcc heavily inlines, be aware of optimizations.
Removed excesive item from boot page tables. |
|
/SPARTAN/trunk/arch/amd64/Makefile.inc /SPARTAN/trunk/arch/amd64/src/boot/boot.S /SPARTAN/trunk/arch/ia32/Makefile.inc /SPARTAN/trunk/arch/ia64/Makefile.inc /SPARTAN/trunk/arch/mips/Makefile.inc /SPARTAN/trunk/arch/ppc/Makefile.inc /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/tools/genmap.py
|
288 |
6922 d 15 h |
jermar |
/SPARTAN/trunk/ |
Create tools/ directory.
Move helper scripts and tools out of src/ and arch/. |
|
/SPARTAN/trunk/tools /SPARTAN/trunk/tools/amd64 /SPARTAN/trunk/tools/amd64/gencontext.c /SPARTAN/trunk/tools/genmap.py
/SPARTAN/trunk/arch/amd64/src/gencontext.c /SPARTAN/trunk/src/debug/genmap.py
/SPARTAN/trunk/arch/amd64/src/boot/boot.S /SPARTAN/trunk/src/Makefile /SPARTAN/trunk/src/build.amd64 /SPARTAN/trunk/src/clean.amd64
|