Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
1976 |
6497 d 1 h |
jermar |
/trunk/kernel/arch/sparc64/ |
sparc64 context does not have to include the CLEANWIN register. |
|
/trunk/kernel/arch/sparc64/include/context.h /trunk/kernel/arch/sparc64/include/context_offset.h /trunk/kernel/arch/sparc64/src/context.S
|
1864 |
6565 d 16 h |
jermar |
/trunk/ |
sparc64 update.
- Prototype userspace layer implementation that
at least relates to sparc64 and compiles cleanly.
- Fixes for kernel's preemptible_handler and code
related to running userspace.
- Enable userspace. Several dozen instructions
are now run in userspace! We are pretty near
the userspace milestone for sparc64. |
|
/trunk/uspace/libc/arch/sparc64/include/stack.h
/trunk/boot/arch/sparc64/loader/Makefile /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/arch/sparc64/include/mm/as.h /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/trap/mmu.h /trunk/kernel/arch/sparc64/src/asm.S /trunk/kernel/arch/sparc64/src/context.S /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/proc/scheduler.c /trunk/kernel/arch/sparc64/src/sparc64.c /trunk/kernel/arch/sparc64/src/start.S /trunk/kernel/arch/sparc64/src/trap/trap_table.S /trunk/kernel/generic/src/proc/task.c /trunk/uspace/libc/arch/sparc64/_link.ld.in /trunk/uspace/libc/arch/sparc64/include/atomic.h /trunk/uspace/libc/arch/sparc64/include/config.h /trunk/uspace/libc/arch/sparc64/include/context_offset.h /trunk/uspace/libc/arch/sparc64/include/endian.h /trunk/uspace/libc/arch/sparc64/include/limits.h /trunk/uspace/libc/arch/sparc64/include/psthread.h /trunk/uspace/libc/arch/sparc64/include/stackarg.h /trunk/uspace/libc/arch/sparc64/include/syscall.h /trunk/uspace/libc/arch/sparc64/include/thread.h /trunk/uspace/libc/arch/sparc64/include/types.h /trunk/uspace/libc/arch/sparc64/src/entry.s /trunk/uspace/libc/arch/sparc64/src/psthread.S /trunk/uspace/libc/arch/sparc64/src/thread.c /trunk/uspace/libc/arch/sparc64/src/thread_entry.s
|
1787 |
6619 d 21 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
/trunk /trunk/boot /trunk/kernel /trunk/uspace
/boot/trunk /kernel/trunk /uspace/trunk
|
666 |
6815 d 18 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix clean_window trap handler so that it clears output registers instead of input registers!
Fix interrupt handlers to save global registers. |
|
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/include/context_offset.h /kernel/trunk/arch/sparc64/include/trap/interrupt.h /kernel/trunk/arch/sparc64/include/trap/regwin.h /kernel/trunk/arch/sparc64/include/trap/trap_table.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/arch/sparc64/src/panic.S /kernel/trunk/arch/sparc64/src/trap/trap_table.S /kernel/trunk/tools/sparc64/gencontext.c
|
657 |
6821 d 16 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Context again. It turns out, according to SCD 2.4, that registers that didn't have to be saved were saved (%o1 - %o5) and
registers that had to be saved were not saved (%i0 - %i5, %l0 - %l7). |
|
/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
|
650 |
6823 d 17 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
|
534 |
6838 d 20 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
532 |
6838 d 20 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
529 |
6840 d 23 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Add dummy trap tables. |
|
/kernel/trunk/arch/sparc64/include/trap_table.h /kernel/trunk/arch/sparc64/src/trap_table.S
/kernel/trunk/arch/sparc64/Makefile.inc /kernel/trunk/arch/sparc64/include/asm.h /kernel/trunk/arch/sparc64/src/context.S /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/arch/sparc64/src/start.S
|
528 |
6841 d 19 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 |
6842 d 2 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 |
6842 d 2 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
|
525 |
6842 d 5 h |
jermar |
/kernel/trunk/arch/sparc64/ |
sparc64 work.
Add stack.h. |
|
/kernel/trunk/arch/sparc64/include/stack.h
/kernel/trunk/arch/sparc64/include/context.h /kernel/trunk/arch/sparc64/src/context.S
|
501 |
6851 d 0 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
472 |
6864 d 1 h |
jermar |
/SPARTAN/trunk/ |
Changes in build system.
For .S targets, always do -D__ASM__.
Remove unnecessary #define __ASM__ from various *.S files.
At the end of build, generate disassembler dump for kernel.raw.
ia64 work.
Better General Exception handler. |
|
/SPARTAN/trunk/Makefile /SPARTAN/trunk/arch/amd64/src/asm_utils.S /SPARTAN/trunk/arch/amd64/src/boot/boot.S /SPARTAN/trunk/arch/amd64/src/smp/ap.S /SPARTAN/trunk/arch/ia32/src/boot/boot.S /SPARTAN/trunk/arch/ia64/include/asm.h /SPARTAN/trunk/arch/ia64/include/interrupt.h /SPARTAN/trunk/arch/ia64/include/register.h /SPARTAN/trunk/arch/ia64/src/interrupt.c /SPARTAN/trunk/arch/ia64/src/ivt.S /SPARTAN/trunk/arch/mips32/src/context.S /SPARTAN/trunk/arch/mips32/src/start.S /SPARTAN/trunk/arch/sparc64/src/context.S
|
428 |
6873 d 22 h |
jermar |
/SPARTAN/trunk/arch/sparc64/src/ |
sparc64 work.
In context_save() and context_restore(), reserve 128 bytes on stack for save area. |
|
/SPARTAN/trunk/arch/sparc64/src/context.S
|
426 |
6874 d 2 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
|