Rev |
Age |
Author |
Path |
Log message |
Diff |
4377 |
5654 d 11 h |
svoboda |
/branches/tracing/ |
Merge latest trunk changes to tracing. (i.e. revs 3684:4374, huge). This time hopefully the real thing. |
|
3425 |
5891 d 22 h |
svoboda |
/branches/tracing/ |
Merge latest trunk changes into tracing (broken) |
|
2787 |
6064 d 15 h |
decky |
/branches/tracing/ |
add dynamic linking, debugging and tracing branch |
|
2228 |
6417 d 18 h |
jermar |
/trunk/kernel/arch/sparc64/src/ |
Fix ticket #28.
In switch_to_userspace(), the uarg argument is in %i2, not in %i3. |
|
2071 |
6499 d 11 h |
jermar |
/trunk/ |
(c) versus (C) |
|
1882 |
6625 d 18 h |
jermar |
/trunk/kernel/ |
Support for sparc64 FPU context. |
|
1880 |
6628 d 10 h |
jermar |
/trunk/ |
Small improvements here and there. |
|
1865 |
6634 d 12 h |
jermar |
/trunk/kernel/ |
sparc64 kernel fixes |
|
1864 |
6635 d 8 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 |
6638 d 12 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. |
|
1856 |
6639 d 20 h |
jermar |
/trunk/kernel/ |
sparc64 work.
- Modify before_thread_runs_arch() to store addresses of the kernel stack and
userspace window buffer, resp., to registers %g6 and %g7, resp, in the
alternate and interrupt global sets.
- Modify after_thread_ran_arch() to sample %g7 from the alternate globals.
- Implement trap handler for spilling register windows into userspace window buffer.
- Implement assembly language functions to access %g6 and %g7 registers in the alternate sets.
- Initialize the trap table so that there are now also spill_1_normal, spill_2_normal,
spill_0_other and fill_1_normal handlers. These handlers are used in different situations
and for different purposes. |
|
1790 |
6687 d 14 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. |
|
1789 |
6687 d 16 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. |
|
1787 |
6689 d 13 h |
decky |
/ |
move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot |
|
1784 |
6690 d 10 h |
jermar |
/kernel/trunk/ |
Sync OpenFirmware functionality with boot.
Random cleanup. |
|
1288 |
6756 d 19 h |
jermar |
/kernel/trunk/ |
Complete implementation of copy_from_uspace() and copy_to_uspace()
for amd64 and ia32. Other architectures still compile and run,
but need to implement their own assembly-only memcpy(), memcpy_from_uspace(),
memcpy_to_uspace() and their failover parts. For these architectures
only dummy implementations are provided. |
|
534 |
6908 d 12 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6908 d 12 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6920 d 16 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
426 |
6943 d 17 h |
jermar |
/SPARTAN/trunk/ |
sparc64 work.
Add context_save(), context_set() and context_restore().
Remove putchar() definition from ofw.c.
Add sparc64 putchar().
Add ppc32 putchar() (i.e. the original ofw.c putchar()).
Make arg.h use the builtin va_* constructs. |
|