Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
1997 6555 d 1 h decky /trunk/ add version to init and boot loader  
/trunk/boot/Makefile
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/main.c
/trunk/uspace/Makefile
/trunk/uspace/init/Makefile
/trunk/uspace/init/version.c
1989 6558 d 6 h decky /trunk/boot/arch/sparc64/loader/ remove disasm on clean  
/trunk/boot/arch/sparc64/loader/Makefile
1982 6561 d 8 h jermar /trunk/ Modify the sparc64 startup code to not cause MMU traps before it takes over the TLB and
the trap table. Fix several PA2KA and KA2PA omittions or errors. Fix configuration to pass
the DEFS variable along.
 
/trunk/boot/arch/sparc64/Makefile.inc
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/boot/boot.config
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
1979 6561 d 23 h jermar /trunk/ Configuration changes on sparc64.
Compile TSB support by default.
Ask whether to start AP processors in the loader.
 
/trunk/boot/Makefile
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/boot.config
/trunk/kernel/kernel.config
1978 6562 d 0 h jermar /trunk/ sparc64 code to support physical memory that starts on non-zero addresses.
Still needs to be tested on systems with such setup.
 
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/boot/arch/sparc64/loader/asm.h
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/ofwarch.h
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/mm/page.h
/trunk/kernel/arch/sparc64/include/trap/mmu.h
/trunk/kernel/arch/sparc64/src/start.S
1977 6562 d 21 h jermar /trunk/ Fix bad indentation in ofw.c

sparc64 work:
o Fix copyright in main.c
o Move code from unused parts of the trap table.
 
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/genarch/ofw.c
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
1973 6573 d 0 h jermar /trunk/boot/genarch/ Rewrite ofw_tree_node_process() to iterate through the peer list instead of recursing.  
/trunk/boot/genarch/ofw_tree.c
1972 6574 d 7 h jermar /trunk/ Modify selected function to consume less stack space.

Avoid flushw instruction in the sparc64 loader.
 
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/boot/arch/sparc64/loader/main.c
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/kernel/generic/src/console/kconsole.c
1952 6588 d 2 h jermar /trunk/ Rename xen32 to ia32xen.
The name seems to be more logical as Xen supports more host architectures.
 
/trunk/boot/arch/ia32xen
/trunk/kernel/arch/ia32xen
/trunk/kernel/arch/ia32xen/xen32
/trunk/boot/arch/xen32
/trunk/kernel/arch/ia32xen/xen32/Makefile.inc
/trunk/kernel/arch/ia32xen/xen32/_link.ld.in
/trunk/kernel/arch/ia32xen/xen32/include
/trunk/kernel/arch/ia32xen/xen32/src
/trunk/kernel/arch/xen32
/trunk/HelenOS.config
/trunk/Makefile
/trunk/boot/arch/ia32xen/grub/menu.debug.lst
/trunk/boot/arch/ia32xen/grub/menu.lst
/trunk/boot/boot.config
/trunk/kernel/arch/ia32xen/include/asm.h
/trunk/kernel/arch/ia32xen/include/boot/boot.h
/trunk/kernel/arch/ia32xen/include/drivers/xconsole.h
/trunk/kernel/arch/ia32xen/include/hypercall.h
/trunk/kernel/arch/ia32xen/include/mm/as.h
/trunk/kernel/arch/ia32xen/include/mm/asid.h
/trunk/kernel/arch/ia32xen/include/mm/frame.h
/trunk/kernel/arch/ia32xen/include/mm/memory_init.h
/trunk/kernel/arch/ia32xen/include/mm/page.h
/trunk/kernel/arch/ia32xen/include/mm/tlb.h
/trunk/kernel/arch/ia32xen/include/pm.h
/trunk/kernel/arch/ia32xen/include/types.h
/trunk/kernel/arch/ia32xen/src/drivers/xconsole.c
/trunk/kernel/arch/ia32xen/src/interrupt.c
/trunk/kernel/arch/ia32xen/src/mm/as.c
/trunk/kernel/arch/ia32xen/src/mm/frame.c
/trunk/kernel/arch/ia32xen/src/mm/memory_init.c
/trunk/kernel/arch/ia32xen/src/mm/page.c
/trunk/kernel/arch/ia32xen/src/mm/tlb.c
/trunk/kernel/arch/ia32xen/src/pm.c
/trunk/kernel/arch/ia32xen/src/proc/scheduler.c
/trunk/kernel/arch/ia32xen/src/proc/task.c
/trunk/kernel/arch/ia32xen/src/proc/thread.c
/trunk/kernel/arch/ia32xen/src/smp/apic.c
/trunk/kernel/arch/ia32xen/src/smp/ipi.c
/trunk/kernel/arch/ia32xen/src/smp/mps.c
/trunk/kernel/arch/ia32xen/src/smp/smp.c
/trunk/kernel/arch/ia32xen/src/userspace.c
/trunk/kernel/arch/ia32xen/src/xen32.c
/trunk/kernel/kernel.config
1947 6589 d 1 h decky /trunk/boot/genarch/ add OFW quiesce command  
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
1917 6601 d 1 h jermar /trunk/ sparc64 work:
- hw_map() can now support up to 8M requests
- CPU stacks are now locked in DTLB of the respective processor
- kernel in the boot phase no longer relies on the stack provided by OpenFirmware
- instead of of doing FLUSHW during kernel startup, simply set the
window state registers to the wanted state
- NWINDOW -> NWINDOWS
- Add/fix some comments and copyrights.
 
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/arch/sparc64/src/cpu/cpu.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/mm/tsb.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
1909 6607 d 23 h jermar /trunk/ Extend the OFW device tree node with a void pointer. The boot loader is
supposed to reset all pointers in all nodes. The kernel uses the pointer
to recognize that a particular device has already been visited and initialized.

Read interrupt mapping from the OFW device tree for FHC devices (z8530) and
EBUS devices (ns16550). In case of FHC devices, remove hardwired values from
the code and use only values read from the tree. FHC initialization is started
when a FHC device wants to map its interrupt. In case of EBUS devices, map
the interrupt to INO. Interrupt enabling in the interrupt controller for that
specific interrupt is not implemented yet.
 
/trunk/boot/genarch/ofw_tree.c
/trunk/boot/genarch/ofw_tree.h
/trunk/kernel/arch/sparc64/include/drivers/fhc.h
/trunk/kernel/arch/sparc64/src/drivers/fhc.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/kernel/genarch/src/ofw/ebus.c
/trunk/kernel/genarch/src/ofw/fhc.c
1907 6610 d 10 h jermar /trunk/ Add node handle to in-memory ofw tree node.
This is essential for interrupt mapping on sparc64
and perhaps on other platforms that have OpenFirmware.
 
/trunk/boot/genarch/ofw_tree.c
/trunk/boot/genarch/ofw_tree.h
/trunk/kernel/genarch/include/ofw/ofw_tree.h
1906 6611 d 3 h jermar /trunk/ Small improvements in sparc64.  
/trunk/boot/arch/sparc64/loader/boot.S
/trunk/boot/arch/sparc64/loader/register.h
/trunk/kernel/arch/sparc64/src/start.S
1903 6613 d 0 h jermar /trunk/ SMP stuff for sparc64.
Almost complete except for IPIs.
The absence of IPI support deadlocks
the kernel when more CPUs are configured.
 
/trunk/kernel/arch/sparc64/src/smp
/trunk/kernel/arch/sparc64/src/smp/ipi.c
/trunk/kernel/arch/sparc64/src/smp/smp.c
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/register.h
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/atomic.h
/trunk/kernel/arch/sparc64/include/cpu.h
/trunk/kernel/arch/sparc64/include/interrupt.h
/trunk/kernel/arch/sparc64/include/regdef.h
/trunk/kernel/arch/sparc64/src/cpu/cpu.c
/trunk/kernel/arch/sparc64/src/mm/as.c
/trunk/kernel/arch/sparc64/src/mm/frame.c
/trunk/kernel/arch/sparc64/src/mm/page.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/kernel.config
1899 6614 d 8 h jermar /trunk/ sparc64 work:
- Loader now starts all processors.
- Kernel halts all but the bootstrup processor for now.
- Read clock-frequency from the respective processor node in the device tree
 
/trunk/boot/arch/sparc64/loader/asm.S
/trunk/boot/arch/sparc64/loader/asm.h
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/arch/sparc64/loader/ofwarch.h
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/kernel/arch/sparc64/include/arch.h
/trunk/kernel/arch/sparc64/include/asm.h
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/register.h
/trunk/kernel/arch/sparc64/src/cpu/cpu.c
/trunk/kernel/arch/sparc64/src/drivers/tick.c
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/arch/sparc64/src/start.S
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/ofw/ofw_tree.c
1897 6617 d 7 h jermar /trunk/ Convert sparc64 framebuffer code to configure from the OpenFirmware device tree memory representation.  
/trunk/kernel/arch/sparc64/include/drivers/scr.h
/trunk/kernel/arch/sparc64/src/drivers/scr.c
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/ofw/pci.c
1896 6617 d 23 h jermar /trunk/ Convert sparc64 to detect keyboard and determine
its physical address by walking the memory representation
of the OpenFirmware device tree.

Add bus-specific functions that know how to apply the
"ranges" property to one component of the "reg" property.
Buses supported so far include FHC, EBUS and PCI.
 
/trunk/kernel/genarch/src/ofw/ebus.c
/trunk/kernel/genarch/src/ofw/fhc.c
/trunk/kernel/genarch/src/ofw/pci.c
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/arch/sparc64/loader/ofwarch.c
/trunk/boot/genarch/ofw_tree.c
/trunk/boot/generic/string.c
/trunk/boot/generic/string.h
/trunk/kernel/Makefile
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/include/drivers/kbd.h
/trunk/kernel/arch/sparc64/src/console.c
/trunk/kernel/arch/sparc64/src/drivers/kbd.c
/trunk/kernel/arch/sparc64/src/trap/interrupt.c
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/genarch/include/kbd/i8042.h
/trunk/kernel/genarch/include/kbd/key.h
/trunk/kernel/genarch/include/kbd/ns16550.h
/trunk/kernel/genarch/include/kbd/z8530.h
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/kbd/i8042.c
/trunk/kernel/genarch/src/kbd/key.c
/trunk/kernel/genarch/src/kbd/ns16550.c
/trunk/kernel/genarch/src/kbd/z8530.c
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/kernel/generic/include/func.h
/trunk/kernel/generic/src/lib/func.c
/trunk/kernel/kernel.config
1895 6620 d 0 h jermar /trunk/ More ofw_tree work and fixes.
Add ofw_tree_lookup().
Every ofw_tree_node now also contains a disambigued name which is essential for tree lookups.
 
/trunk/boot/genarch/ofw.c
/trunk/boot/genarch/ofw.h
/trunk/boot/genarch/ofw_tree.c
/trunk/boot/genarch/ofw_tree.h
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/ofw/ofw_tree.c
1894 6620 d 22 h jermar /trunk/ Add balloc() (a.k.a boot allocator):
- balloc() only needs to know how to allocate memory.
- Memory allocated via balloc() is supposed to be passed to kernel and never freed by boot itself.
- make kernel aware of boot allocations

More work on OFW device tree:
- use balloc() to efficiently and safely allocate memory for the canonical copy of the device tree

sparc64 boot:
- pass OFW device tree root node pointer to kernel
 
/trunk/boot/genarch/balloc.c
/trunk/boot/genarch/balloc.h
/trunk/kernel/genarch/include/ofw
/trunk/kernel/genarch/include/ofw/ofw_tree.h
/trunk/kernel/genarch/src/ofw
/trunk/kernel/genarch/src/ofw/ofw_tree.c
/trunk/boot/arch/sparc64/loader/Makefile
/trunk/boot/arch/sparc64/loader/main.c
/trunk/boot/arch/sparc64/loader/main.h
/trunk/boot/genarch/ofw_tree.c
/trunk/boot/genarch/ofw_tree.h
/trunk/kernel/arch/sparc64/include/boot/boot.h
/trunk/kernel/arch/sparc64/src/sparc64.c
/trunk/kernel/genarch/Makefile.inc
/trunk/kernel/generic/include/config.h
/trunk/kernel/generic/src/main/main.c
/trunk/kernel/generic/src/mm/frame.c

Show All