HelenOS
HelenOS-doc
HelenOS-historic
Català-Valencià – Catalan
中文 – Chinese (Simplified)
中文 – Chinese (Traditional)
Česky – Czech
Dansk – Danish
Nederlands – Dutch
English – English
Suomi – Finnish
Français – French
Deutsch – German
עברית – Hebrew
हिंदी – Hindi
Magyar – Hungarian
Bahasa Indonesia – Indonesian
Italiano – Italian
日本語 – Japanese
한국어 – Korean
Македонски – Macedonian
मराठी – Marathi
Norsk – Norwegian
Polski – Polish
Português – Portuguese
Português – Portuguese (Brazil)
Русский – Russian
Slovenčina – Slovak
Slovenščina – Slovenian
Español – Spanish
Svenska – Swedish
Türkçe – Turkish
Українська – Ukrainian
Oëzbekcha – Uzbek
Subversion Repositories
HelenOS
(root)
/
/
branches
/
arm
/
kernel
/
arch
/
sparc64
/
src
/
sparc64.c
– Rev 4647
Rev
Show changed files
|
Details
|
Compare with Previous
|
Blame
|
RSS feed
Filtering Options
From rev
To rev
Max revs
Search history for
Show All
Clear current filter
Rev
Age
Author
Path
Log message
Diff
4647
5599 d 11 h
jermar
/branches/arm/
Branch out a new arm branch.
4267
5696 d 6 h
svoboda
/trunk/kernel/
str_ncpy() vs str_cpy(). TODO: The same in userspace.
4220
5702 d 21 h
decky
/trunk/kernel/
update for string changes
4076
5725 d 9 h
jermar
/trunk/kernel/arch/sparc64/src/
Fix SMP on sparc64.
4070
5725 d 12 h
rimsky
/trunk/
SGCN driver modified to reflect the new keyboard driver architecture. Making the Serengeti bootable image smaller by not including some servers/applications.
4042
5729 d 13 h
jermar
/trunk/
Complete emancipation of kernel serial controller drivers (i8042, ns16550 and
z8530). Provide a common keyboard module for PC and Sun keyboards. The serial
line module is still to follow.
4032
5731 d 10 h
svoboda
/trunk/
Init-task names for sparc64 (that's the final one, whew).
4023
5733 d 8 h
svoboda
/trunk/kernel/arch/
Unify arch_pre_main() comments.
3900
5749 d 15 h
jermar
/trunk/
Get rid of CONFIG_NS16550_INTERRUPT_DRIVEN and CONFIG_I8042_INTERRUPT_DRIVEN.
3880
5752 d 9 h
decky
/trunk/kernel/arch/
simplify configuration
introduce arch_construct_function and inb/outb (sometimes empty) on all platforms
various code cleanup
3790
5787 d 17 h
svoboda
/trunk/kernel/
Make newlines in panic messages consistent. Add periods at end of messages so that it is obvious whether they are printed entirely.
3672
5821 d 9 h
jermar
/trunk/
Merge sparc branch to trunk.
2227
6427 d 23 h
decky
/trunk/kernel/
start shutdown infrastructure
2107
6492 d 8 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
6498 d 12 h
jermar
/trunk/kernel/arch/sparc64/src/
Fix creating the kkbdpoll() kernel thread on sparc64 SMP machines.
This fixes Ticket #19.
2071
6509 d 9 h
jermar
/trunk/
(c) versus (C)
2048
6541 d 10 h
jermar
/trunk/
Formatting and indentation changes.
2043
6543 d 11 h
jermar
/trunk/kernel/arch/sparc64/src/
Make the sparc64 kernel compile again.
1982
6569 d 17 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
6604 d 18 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
6605 d 9 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
6621 d 9 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
6622 d 14 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
6622 d 16 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
6628 d 9 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
6629 d 7 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
6636 d 16 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
6639 d 17 h
jermar
/trunk/kernel/arch/sparc64/src/
Revert last change.
The register window save area is automatically allocated by the SAVE instruction.
1878
6639 d 18 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].
1875
6641 d 9 h
jermar
/trunk/
sparc64 work.
- Changes to enable userspace keyboard drivers.
- Fix z8530 initialization (i.e. clear any pending Tx interrupts).
- Experimental support for framebuffers with inverted colors.
1864
6645 d 6 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.
1860
6648 d 11 h
jermar
/trunk/kernel/
A lot of untested sparc64 stuff:
- Write ASID to hardware when a thread is about to run in userspace.
- Add userspace() and switch_to_userspace() functions.
- Handle special cases when the userspace spill/fill handler causes MMU trap.
- Resolve some TODOs in the existing sparc64 code.
- sparc64 has now C99 compliant header guards.
- Formatting and indentation fixes.
1823
6678 d 13 h
jermar
/trunk/kernel/arch/sparc64/
sparc64 work.
Dump take_over_tlb_and_tt() and add its assembly language replacement.
1822
6678 d 18 h
jermar
/trunk/
sparc64 work.
1. Formatting fixes.
2. When writing to DMMU ASI's, simple membar() can be used in place of flush().
3. Substantial changes in the way the TLB is taken over.
4. Remove unneeded functions.
This is the first revision that also runs on a real world Ultra 5 with UltraSPARC IIi
processor.
Note that 3. needs further work as the current implementation depends on the fact
that the compiler will use registers for local variables in take_over_tlb_and_tt().
Rewrite of that function into assembly is to follow.
1792
6697 d 7 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.
1790
6697 d 12 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.
1787
6699 d 11 h
decky
/
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot
1784
6700 d 8 h
jermar
/kernel/trunk/
Sync OpenFirmware functionality with boot.
Random cleanup.
1769
6709 d 8 h
jermar
/kernel/trunk/arch/
Change cache_error exception to take istate * as a parameter.
Make cache_error() print epc in the panic message.
Do not rely on the compiler to generate 'nop' after 'beq' in atomic_add()
and put it there explicitly.
Indentation fixes and cosmetic changes.
1705
6726 d 18 h
cejka
/kernel/trunk/
Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.