Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
537 |
6835 d 18 h |
jermar |
/kernel/trunk/ |
Buddy system cleanup and fixes.
- missing use of KA2PA in frame_init
- truncating black list addresses to frame boundaries
- removal of left-over obsolete structures
- fixing some comments |
|
/kernel/trunk/arch/ia32/src/mm/frame.c /kernel/trunk/arch/ia64/include/mm/page.h /kernel/trunk/generic/include/mm/frame.h /kernel/trunk/generic/src/mm/frame.c
|
534 |
6836 d 15 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
/kernel
/SPARTAN
|
533 |
6836 d 15 h |
bondari |
/SPARTAN/trunk/ |
Buddy allocator for physical memory complete implementation.
Tested on IA32, AMD64, MIPS32. RWLock Test #5 is not passed.
NOTE: Other architectures could be broken (but should not be) |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/amd64/src/mm/page.c /SPARTAN/trunk/arch/ia32/src/mm/frame.c /SPARTAN/trunk/arch/ia32/src/mm/page.c /SPARTAN/trunk/arch/ia64/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/frame.c /SPARTAN/trunk/arch/mips32/src/mm/page.c /SPARTAN/trunk/arch/ppc32/src/mm/frame.c /SPARTAN/trunk/generic/include/mm/buddy.h /SPARTAN/trunk/generic/include/mm/frame.h /SPARTAN/trunk/generic/include/typedefs.h /SPARTAN/trunk/generic/src/cpu/cpu.c /SPARTAN/trunk/generic/src/mm/buddy.c /SPARTAN/trunk/generic/src/mm/frame.c /SPARTAN/trunk/generic/src/mm/page.c /SPARTAN/trunk/generic/src/mm/vm.c /SPARTAN/trunk/generic/src/proc/thread.c
|
532 |
6836 d 16 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
/SPARTAN
/kernel
|
523 |
6842 d 19 h |
jermar |
/kernel/trunk/ |
Clean up. |
|
/kernel/trunk/arch/ia32/src/smp/apic.c /kernel/trunk/arch/ia64/src/drivers/keyboard.c /kernel/trunk/arch/ia64/src/ski/ski.c /kernel/trunk/doc/arch/ia32 /kernel/trunk/generic/src/main/kinit.c /kernel/trunk/generic/src/main/main.c
|
522 |
6842 d 22 h |
vana |
/kernel/trunk/arch/ia64/src/ski/ |
Comment update |
|
/kernel/trunk/arch/ia64/src/ski/ski.c
|
521 |
6842 d 23 h |
vana |
/kernel/trunk/arch/ia64/ |
Coding style patch. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/drivers/keyboard.c
|
520 |
6843 d 13 h |
vana |
/kernel/trunk/arch/ia64/ |
Lost files from last commit. |
|
/kernel/trunk/arch/ia64/include/drivers/keyboard.h /kernel/trunk/arch/ia64/src/drivers/keyboard.c
|
519 |
6843 d 13 h |
vana |
/kernel/trunk/arch/ia64/ |
Keyboard support for ski (ia64 emulator) |
|
/kernel/trunk/arch/ia64/Makefile.inc /kernel/trunk/arch/ia64/include/ski/ski.h /kernel/trunk/arch/ia64/include/types.h /kernel/trunk/arch/ia64/src/drivers/it.c /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/ia64/src/ski/ski.c
|
503 |
6848 d 19 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
/kernel/trunk/arch/amd64/src/amd64.c /kernel/trunk/arch/ia32/src/ia32.c /kernel/trunk/arch/ia64/src/dummy.s /kernel/trunk/arch/ia64/src/ia64.c /kernel/trunk/arch/mips32/src/mips32.c /kernel/trunk/arch/ppc32/src/ppc32.c /kernel/trunk/arch/sparc64/src/sparc64.c /kernel/trunk/generic/include/arch.h /kernel/trunk/generic/src/main/main.c
|
501 |
6848 d 20 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
/kernel
/SPARTAN
|
486 |
6856 d 13 h |
jermar |
/SPARTAN/trunk/ |
Revert to -O3 for all architectures as the mips32 bug got fixed. |
|
/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/ppc32/Makefile.inc /SPARTAN/trunk/arch/sparc64/Makefile.inc
|
483 |
6856 d 15 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
|
478 |
6859 d 18 h |
jermar |
/SPARTAN/trunk/ |
Re-aply mistakenly reverted changes. |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/ia64/src/ivt.S
|
477 |
6859 d 21 h |
vana |
/SPARTAN/trunk/ |
Atomic inc & dec functions synchronized on all ia32,ia64 and mips platforms. Now there are 3 versions which returns no value, new value and old value och changed variable. |
|
/SPARTAN/trunk/Makefile.config /SPARTAN/trunk/arch/ia32/include/atomic.h /SPARTAN/trunk/arch/ia64/include/atomic.h /SPARTAN/trunk/arch/ia64/src/ivt.S /SPARTAN/trunk/arch/mips32/include/atomic.h
|
476 |
6859 d 22 h |
jermar |
/SPARTAN/trunk/arch/ia64/ |
ia64 CPU identification. |
|
/SPARTAN/trunk/arch/ia64/include/cpu.h /SPARTAN/trunk/arch/ia64/include/register.h /SPARTAN/trunk/arch/ia64/src/cpu/cpu.c /SPARTAN/trunk/arch/ia64/src/dummy.s
|
475 |
6860 d 21 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
|
473 |
6861 d 13 h |
jermar |
/SPARTAN/trunk/arch/ia64/src/ |
ia64 work.
Comment some offending steps of heavyweight interrupt handler regarding RSE switching.
With this change, ia64 will do well on tests rwlock #4 and thread #1.
Cleanup. |
|
/SPARTAN/trunk/arch/ia64/src/cpu/cpu.c /SPARTAN/trunk/arch/ia64/src/ivt.S /SPARTAN/trunk/arch/ia64/src/start.S
|
472 |
6861 d 21 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
|
470 |
6862 d 10 h |
jermar |
/SPARTAN/trunk/ |
ia64 work.
Big cleanup of IA-64 interrupt processing.
Merge of interrupt.c and interrupt_handler.c.
Rewrite of ivt.S and interrupt.c.
Higher level interrupt handlers are now passed a vector number and a pointer to stack structure.
ia32 work.
ia32 has ordered writes. Until it deploys weaker memory ordering model, write_barrier() can be empty statement. |
|
/SPARTAN/trunk/arch/ia64/src/interrupt_handler.c
/SPARTAN/trunk/arch/ia32/include/barrier.h /SPARTAN/trunk/arch/ia64/Makefile.inc /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/cpu/cpu.c /SPARTAN/trunk/arch/ia64/src/ia64.c /SPARTAN/trunk/arch/ia64/src/interrupt.c /SPARTAN/trunk/arch/ia64/src/ivt.S /SPARTAN/trunk/generic/src/main/main.c
|