Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1821 6512 d 7 h decky /trunk/kernel/arch/xen32/ xen32 cleanup  
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/mm/frame.h
/trunk/kernel/arch/xen32/include/mm/page.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/memory_init.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/mm/tlb.c
1820 6514 d 0 h decky /trunk/kernel/generic/ initial security context support  
/trunk/kernel/generic/include/arch.h
/trunk/kernel/generic/include/proc/scheduler.h
/trunk/kernel/generic/include/proc/task.h
/trunk/kernel/generic/include/proc/thread.h
/trunk/kernel/generic/include/proc/uarg.h
/trunk/kernel/generic/include/typedefs.h
/trunk/kernel/generic/src/proc/task.c
/trunk/kernel/generic/src/proc/the.c
/trunk/kernel/generic/src/proc/thread.c
1819 6514 d 0 h decky /trunk/kernel/generic/include/ formatting changes  
/trunk/kernel/generic/include/align.h
/trunk/kernel/generic/include/arch.h
/trunk/kernel/generic/include/atomic.h
/trunk/kernel/generic/include/bitops.h
/trunk/kernel/generic/include/byteorder.h
/trunk/kernel/generic/include/context.h
/trunk/kernel/generic/include/elf.h
/trunk/kernel/generic/include/errno.h
/trunk/kernel/generic/include/fpu_context.h
/trunk/kernel/generic/include/func.h
/trunk/kernel/generic/include/interrupt.h
/trunk/kernel/generic/include/memstr.h
/trunk/kernel/generic/include/panic.h
/trunk/kernel/generic/include/preemption.h
/trunk/kernel/generic/include/print.h
/trunk/kernel/generic/include/putchar.h
/trunk/kernel/generic/include/sort.h
/trunk/kernel/generic/include/stackarg.h
/trunk/kernel/generic/include/stdarg.h
/trunk/kernel/generic/include/symtab.h
/trunk/kernel/generic/include/syscall/copy.h
/trunk/kernel/generic/include/syscall/sysarg64.h
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/include/sysinfo/sysinfo.h
/trunk/kernel/generic/include/test.h
/trunk/kernel/generic/include/typedefs.h
/trunk/kernel/generic/include/userspace.h
1818 6517 d 3 h decky /trunk/kernel/ make burst updates  
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/kernel.config
1817 6517 d 23 h decky /trunk/kernel/arch/ xen32 work: create identity mapping for the main memory zone,
make several dummy modifications to get to the banner
 
/trunk/kernel/arch/ia32/include/types.h
/trunk/kernel/arch/xen32/include/asm.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/page.c
1816 6518 d 7 h decky /trunk/kernel/ xen memory initialization  
/trunk/kernel/arch/xen32/include/drivers
/trunk/kernel/arch/xen32/include/drivers/xconsole.h
/trunk/kernel/arch/xen32/src/drivers
/trunk/kernel/arch/xen32/src/drivers/xconsole.c
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/_link.ld.in
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/pm.c
/trunk/kernel/arch/xen32/src/smp/smp.c
/trunk/kernel/arch/xen32/src/xen32.c
/trunk/kernel/kernel.config
1815 6518 d 9 h decky /trunk/kernel/arch/xen32/src/ fork drivers  
/trunk/kernel/arch/xen32/src/drivers
1814 6518 d 9 h decky /trunk/kernel/arch/xen32/include/ fork drivers  
/trunk/kernel/arch/xen32/include/drivers
1813 6518 d 9 h decky /trunk/kernel/arch/xen32/ xen32 hypervisor interface  
/trunk/kernel/arch/xen32/include/hypercall.h
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/src/boot/boot.S
/trunk/kernel/arch/xen32/src/mm/memory_init.c
/trunk/kernel/arch/xen32/src/xen32.c
1812 6518 d 9 h decky /trunk/kernel/ move macro and cleanup  
/trunk/kernel/arch/mips32/src/mips32.c
/trunk/kernel/generic/include/debug.h
/trunk/kernel/generic/include/macros.h
1811 6518 d 11 h decky /trunk/kernel/arch/ unify bootstrapping  
/trunk/kernel/arch/amd64/include/boot/boot.h
/trunk/kernel/arch/amd64/include/pm.h
/trunk/kernel/arch/ia32/include/pm.h
/trunk/kernel/arch/ia32/src/boot/boot.S
1810 6525 d 0 h decky /trunk/kernel/arch/xen32/ remove obsolete stuff  
/trunk/kernel/arch/xen32/src/xen32.c
/trunk/kernel/arch/xen32/src/ia32.c
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/_link.ld.in
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/src/boot/boot.S
1809 6525 d 2 h decky /trunk/kernel/arch/xen32/ update xen32 support (most of the code is still dummy)  
/trunk/kernel/arch/xen32/include/mm
/trunk/kernel/arch/xen32/include/mm/as.h
/trunk/kernel/arch/xen32/include/mm/asid.h
/trunk/kernel/arch/xen32/include/mm/frame.h
/trunk/kernel/arch/xen32/include/mm/memory_init.h
/trunk/kernel/arch/xen32/include/mm/page.h
/trunk/kernel/arch/xen32/include/mm/tlb.h
/trunk/kernel/arch/xen32/src/mm
/trunk/kernel/arch/xen32/src/mm/as.c
/trunk/kernel/arch/xen32/src/mm/frame.c
/trunk/kernel/arch/xen32/src/mm/memory_init.c
/trunk/kernel/arch/xen32/src/mm/page.c
/trunk/kernel/arch/xen32/src/mm/tlb.c
/trunk/kernel/arch/xen32/src/smp/apic.c
/trunk/kernel/arch/xen32/src/smp/ipi.c
/trunk/kernel/arch/xen32/src/smp/mps.c
/trunk/kernel/arch/xen32/src/smp/smp.c
/trunk/kernel/arch/xen32/Makefile.inc
/trunk/kernel/arch/xen32/_link.ld.in
/trunk/kernel/arch/xen32/src/boot/boot.S
1808 6525 d 3 h decky /trunk/kernel/arch/xen32/include/ fork directories  
/trunk/kernel/arch/xen32/include/mm
1807 6525 d 4 h decky /trunk/kernel/arch/xen32/ fork directories  
/trunk/kernel/arch/xen32/include/boot
/trunk/kernel/arch/xen32/include/boot/boot.h
/trunk/kernel/arch/xen32/src/smp
/trunk/kernel/arch/xen32/src/mm
1806 6525 d 4 h decky /trunk/kernel/arch/xen32/ fork directories  
/trunk/kernel/arch/xen32/include/boot
/trunk/kernel/arch/xen32/src/smp
/trunk/kernel/arch/xen32/_link.ld.in
/trunk/kernel/arch/xen32/src/boot/boot.S
1805 6525 d 11 h decky /trunk/kernel/arch/xen32/src/boot/ make Xen recognize the kernel image  
/trunk/kernel/arch/xen32/src/boot
/trunk/kernel/arch/xen32/src/boot/boot.S
1804 6525 d 11 h decky /trunk/kernel/arch/xen32/ fork Xen32 makefile and linker script  
/trunk/kernel/arch/xen32/src/boot
1803 6525 d 22 h decky /trunk/ fix critical bug  
/trunk/Makefile
1802 6525 d 23 h decky /trunk/ cleanup and unify the build system  
/trunk/HelenOS.config
/trunk/Makefile
/trunk/tools
/trunk/tools/config.py
/trunk/version
/trunk/boot/tools/config.py
/trunk/kernel/tools/config.py
/trunk/uspace/tools
/trunk/boot/Makefile
/trunk/boot/arch/amd64/Makefile.inc
/trunk/boot/arch/ia32/Makefile.inc
/trunk/boot/arch/ia64/Makefile.inc
/trunk/boot/arch/mips32/Makefile.inc
/trunk/boot/arch/ppc32/Makefile.inc
/trunk/boot/arch/ppc64/Makefile.inc
/trunk/boot/arch/sparc64/Makefile.inc
/trunk/boot/arch/xen32/Makefile.inc
/trunk/boot/boot.config
/trunk/kernel/Makefile
/trunk/kernel/arch/amd64/Makefile.inc
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia64/Makefile.inc
/trunk/kernel/arch/mips32/Makefile.inc
/trunk/kernel/arch/ppc32/Makefile.inc
/trunk/kernel/arch/ppc64/Makefile.inc
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/kernel.config
/trunk/uspace/Makefile
/trunk/uspace/uspace.config
1801 6525 d 23 h decky /trunk/uspace/libc/arch/mips32eb/include/ sync mips32eb with mips32  
/trunk/uspace/libc/arch/mips32eb/include/config.h
/trunk/uspace/libc/arch/mips32eb/include/faddr.h
1800 6525 d 23 h decky /trunk/boot/arch/ppc64/loader/ sync ppc64 with ppc32  
/trunk/boot/arch/ppc64/loader/debug.inc
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/ppc64/loader/asm.S
/trunk/boot/arch/ppc64/loader/asm.h
/trunk/boot/arch/ppc64/loader/main.c
/trunk/boot/arch/ppc64/loader/main.h
/trunk/boot/arch/ppc64/loader/ofwarch.c
1799 6525 d 23 h decky /trunk/boot/arch/ppc32/loader/ fix typo  
/trunk/boot/arch/ppc32/loader/ofwarch.c
1798 6525 d 23 h decky /trunk/uspace/ make uspace compile for ppc64  
/trunk/uspace/kbd/arch/ppc64
/trunk/uspace/kbd/arch/ppc64/include
/trunk/uspace/kbd/arch/ppc64/include/kbd.h
/trunk/uspace/kbd/arch/ppc64/src
/trunk/uspace/kbd/arch/ppc64/src/kbd.c
/trunk/uspace/kbd/arch/sparc64/include/kbd.h
/trunk/uspace/libc/arch/ppc64/Makefile.inc
1797 6526 d 0 h decky /trunk/uspace/ dummy Sparc64 uspace support (it just compiles)  
/trunk/uspace/kbd/arch/sparc64
/trunk/uspace/kbd/arch/sparc64/include
/trunk/uspace/kbd/arch/sparc64/include/kbd.h
/trunk/uspace/kbd/arch/sparc64/src
/trunk/uspace/kbd/arch/sparc64/src/kbd.c
/trunk/uspace/libc/arch/sparc64
/trunk/uspace/libc/arch/sparc64/Makefile.inc
/trunk/uspace/libc/arch/sparc64/_link.ld.in
/trunk/uspace/libc/arch/sparc64/include
/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/faddr.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/thread.h
/trunk/uspace/libc/arch/sparc64/include/types.h
/trunk/uspace/libc/arch/sparc64/src
/trunk/uspace/libc/arch/sparc64/src/entry.s
/trunk/uspace/libc/arch/sparc64/src/psthread.S
/trunk/uspace/libc/arch/sparc64/src/syscall.c
/trunk/uspace/libc/arch/sparc64/src/thread.c
/trunk/uspace/libc/arch/sparc64/src/thread_entry.s
1796 6526 d 0 h decky /trunk/boot/tools/ia64/ new place for vmaxlma  
/trunk/boot/tools/ia64
/trunk/boot/tools/ia64/vmaxlma.c
1795 6526 d 0 h decky /trunk/contrib/ remove orphaned directory  
/trunk/contrib/arch
1794 6526 d 0 h decky /trunk/ move contrib from kernel/ to /
update Sparc64 toolchain to use Binutils 2.17 (neeeded for linking uspace)
 
/trunk/contrib
/trunk/contrib/arch/ia64
/trunk/kernel/contrib
/trunk/contrib/toolchain/toolchain.sparc64.sh
1793 6528 d 12 h jermar /trunk/kernel/ Change hw_map() on sparc64 to use virtual addresses that are
beyond the end of physical memory. It is beneficial in two
ways: first, physical memory is no longer being wasted by
otherwise necessary calls to frame_alloc() and, second,
virtual addresses for devices are now correctly allocated
and do not overlap with the 4M TLB-locked mapping for
kernel text and data.
 
/trunk/kernel/arch/ia32/src/mm/frame.c
/trunk/kernel/arch/sparc64/include/mm/frame.h
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/generic/src/mm/as.c
1792 6529 d 1 h jermar /trunk/ Move functionality of tlb_arch_init() to take_over_tlb_and_tt().
Call take_over_tlb_and_tt() very early after the kernel starts
executing.
 
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/arch/sparc64/include/mm/asid.h
/trunk/kernel/arch/sparc64/include/trap/trap.h
/trunk/kernel/arch/sparc64/src/mm/tlb.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
1791 6529 d 4 h jermar /trunk/boot/arch/sparc64/loader/ Switch to identically mapped stack during boot.
Put stack related and register related macros to dedicated
header files.
 
/trunk/boot/arch/sparc64/loader/register.h
/trunk/boot/arch/sparc64/loader/stack.h
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/boot/arch/sparc64/loader/boot.S
1790 6529 d 6 h jermar /trunk/ Remove OpenFirmware calls from kernel/ entirely.

Switch the sparc64 port to use bootinfo.

Copy memcpy from boot/ to sparc64 kernel/ and
adjust it for memcpy_from/to_uspace.
 
/trunk/kernel/genarch/include/ofw
/trunk/kernel/genarch/src/ofw
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/kernel/arch/ppc32/src/ppc32.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/_link.ld.in
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/drivers/fb.h
/trunk/kernel/arch/sparc64/include/drivers/i8042.h
/trunk/kernel/arch/sparc64/include/drivers/tick.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/i8042.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/memory_init.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/genarch/src/fb/fb.c
/trunk/kernel/generic/src/mm/frame.c
1789 6529 d 8 h jermar /trunk/ Fix ofw_memmap() in boot infrastructure.
The cell size is 32-bit and not equal sizeof(ofw_arg_t).
Define architecture dependant #address-cells and #size-cells for cases
the respective properties are missing in the OpenFirmware device tree.
The algorithm now works both for ppc32 and sparc64.

Add memmap_t, screen_t and keyboard_t to sparc64 bootinfo structure.
Be more verbose during sparc64 boot.

Move ALIGN_UP to generic part of boot/.

Change header guards in several places so that they don't contain double underscore.
 
/trunk/boot/arch/ppc32/loader/ofwarch.c
/trunk/boot/arch/ppc32/loader/ofwarch.h
/trunk/boot/arch/ppc64/loader/ofwarch.c
/trunk/boot/arch/ppc64/loader/ofwarch.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/ofwarch.h
/trunk/boot/generic/align.h
/trunk/kernel/arch/sparc64/include/regdef.h
/trunk/boot/arch/ppc32/loader/ofw.c
/trunk/boot/arch/ppc64/loader/ofw.c
/trunk/boot/arch/sparc64/loader/ofw.c
/trunk/boot/arch/ppc32/loader/Makefile
/trunk/boot/arch/ppc32/loader/asm.h
/trunk/boot/arch/ppc32/loader/boot.S
/trunk/boot/arch/ppc32/loader/main.c
/trunk/boot/arch/ppc32/loader/main.h
/trunk/boot/arch/ppc32/loader/types.h
/trunk/boot/arch/ppc64/loader/Makefile
/trunk/boot/arch/ppc64/loader/boot.S
/trunk/boot/arch/ppc64/loader/main.c
/trunk/boot/arch/ppc64/loader/main.h
/trunk/boot/arch/ppc64/loader/types.h
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/asm.h
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/types.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/boot/generic/gentypes.h
/trunk/boot/generic/printf.h
/trunk/kernel/arch/sparc64/include/register.h
/trunk/kernel/arch/sparc64/src/asm.S
/trunk/kernel/arch/sparc64/src/start.S
1788 6531 d 5 h decky / remove orphaned directories  
/boot
/kernel
/uspace
1787 6531 d 5 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
1786 6531 d 11 h jermar /boot/trunk/arch/sparc64/silo/ Upgrade to silo-1.4.11.  
/boot/trunk/arch/sparc64/silo/silo.tar.gz
1785 6532 d 2 h decky /kernel/ remove currently unused repository directories  
/kernel/branches
/kernel/tags
1784 6532 d 2 h jermar /kernel/trunk/ Sync OpenFirmware functionality with boot.
Random cleanup.
 
/kernel/trunk/arch/sparc64/include/asm.h
/kernel/trunk/arch/sparc64/include/atomic.h
/kernel/trunk/arch/sparc64/include/barrier.h
/kernel/trunk/arch/sparc64/include/console.h
/kernel/trunk/arch/sparc64/include/drivers/fb.h
/kernel/trunk/arch/sparc64/include/drivers/i8042.h
/kernel/trunk/arch/sparc64/include/elf.h
/kernel/trunk/arch/sparc64/include/register.h
/kernel/trunk/arch/sparc64/include/stack.h
/kernel/trunk/arch/sparc64/include/trap/interrupt.h
/kernel/trunk/arch/sparc64/src/asm.S
/kernel/trunk/arch/sparc64/src/console.c
/kernel/trunk/arch/sparc64/src/drivers/i8042.c
/kernel/trunk/arch/sparc64/src/mm/frame.c
/kernel/trunk/arch/sparc64/src/mm/memory_init.c
/kernel/trunk/arch/sparc64/src/proc/scheduler.c
/kernel/trunk/arch/sparc64/src/sparc64.c
/kernel/trunk/arch/sparc64/src/start.S
/kernel/trunk/genarch/include/ofw/memory_init.h
/kernel/trunk/genarch/include/ofw/ofw.h
/kernel/trunk/genarch/src/ofw/memory_init.c
/kernel/trunk/genarch/src/ofw/ofw.c
1783 6532 d 3 h jermar /boot/trunk/ Some 32-bit vs. 64-bit fixes.

Make the call to OpenFirmware client interface architecture dependent.
For instance and contrary to my previous experience, the sparc64 version of
'translate' method would not work reliably unless the Address Mask bit in the
PSTATE register is cleared during duration of the call.

sparc64 and ppc32 OpenFirmware seem to differ in details, for example, the above
mentioned method 'translate' signals success by setting the first return value
to -1 on sparc64 while on ppc32 the value is/stays (???) zero.
 
/boot/trunk/arch/ppc32/loader/boot.S
/boot/trunk/arch/ppc32/loader/main.c
/boot/trunk/arch/ppc32/loader/ofw.c
/boot/trunk/arch/ppc64/loader/boot.S
/boot/trunk/arch/ppc64/loader/ofw.c
/boot/trunk/arch/sparc64/loader/asm.S
/boot/trunk/arch/sparc64/loader/boot.S
/boot/trunk/arch/sparc64/loader/main.c
/boot/trunk/arch/sparc64/loader/ofw.c
/boot/trunk/genarch/ofw.c
/boot/trunk/genarch/ofw.h
1782 6537 d 10 h jermar /boot/trunk/ Fix ofw.c to support map and translate methods even on 64-bit platforms.  
/boot/trunk/arch/sparc64/loader/main.c
/boot/trunk/genarch/ofw.c