Subversion Repositories HelenOS

Rev

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

Filtering Options

Rev Age Author Path Log message Diff
3493 5682 d 0 h rimsky /branches/sparc/ More changes making the code US-III-conformant (mainly in mm).  
3467 5707 d 0 h rimsky /branches/sparc/ SMP and CPU initialiation modified to work even with Serengeti OFW tree layout; support for output to the Simics CLI console added (see my blog); some header files modified to conform US-III definition. Now HelenOS (on the sample configuration - usiii.simics) is able to run some userspace tasks.  
3343 5741 d 5 h decky /branches/sparc/ add sparc branch  
2227 6239 d 15 h decky /trunk/kernel/ start shutdown infrastructure  
2107 6304 d 0 h jermar /trunk/ When clock() is called by an external interrupt dispatched by the IRQ dispatcher,
no spinlock can be held or the kernel will not be preemptive. This fixes Ticket #24.

Formating and indentation fixes.
 
2091 6310 d 4 h jermar /trunk/kernel/arch/sparc64/src/ Fix creating the kkbdpoll() kernel thread on sparc64 SMP machines.
This fixes Ticket #19.
 
2071 6321 d 1 h jermar /trunk/ (c) versus (C)  
2048 6353 d 3 h jermar /trunk/ Formatting and indentation changes.  
2043 6355 d 4 h jermar /trunk/kernel/arch/sparc64/src/ Make the sparc64 kernel compile again.  
1982 6381 d 9 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.
 
1920 6416 d 10 h jermar /trunk/kernel/ Move the new IRQ redirector to ddi/.
Add function for assigning unique device numbers.
Change sparc64/drivers/kbd.c to assign devno to keyboard.
 
1919 6417 d 1 h jermar /trunk/kernel/ Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only.
 
1903 6433 d 2 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.
 
1901 6434 d 7 h jermar /trunk/kernel/ Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above.
 
1899 6434 d 9 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
 
1895 6440 d 1 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.
 
1894 6440 d 23 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
 
1881 6448 d 9 h jermar /trunk/ sparc64 work:
- find a CPU node and read its clock_frequency attribute
- implement asm_delay_loop()
- set TICK_COMPARE register according to processor frequency
- small improvements at random places

OpenFirmware work:
- two new functions for walking the device tree

Generic boot loader work:
- added basic string functions

Usual pile of indentation and formatting fixes.
 
1879 6451 d 9 h jermar /trunk/kernel/arch/sparc64/src/ Revert last change.
The register window save area is automatically allocated by the SAVE instruction.
 
1878 6451 d 11 h jermar /trunk/kernel/arch/sparc64/src/ Even the first kernel register window after the switch from userspace stack needs
proper register window save area [sparc64].
 

Show All