Rev |
Age |
Author |
Path |
Log message |
Diff |
797 |
6771 d 7 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Fixed uspace address constants. |
|
796 |
6771 d 8 h |
palkovsky |
/kernel/trunk/ |
Gxemul support for mips userspace. MIPS now _must_ be started
always with userspace, there is (almost) no way how to pass parameters
to kernel. |
|
730 |
6787 d 7 h |
jermar |
/kernel/trunk/ |
Finalize ASID management for sparc64 and mips32 by making use of FIFO queue of ASIDs. |
|
727 |
6789 d 3 h |
jermar |
/kernel/trunk/ |
New ASID management subsystem (initial work, more is required).
Some TLB invalidation changes. |
|
703 |
6795 d 12 h |
jermar |
/kernel/trunk/ |
Memory management work.
- vm.* -> as.* (as like address space is, imho, more fitting)
- Don't do TLB shootdown on vm_install(). Some architectures only need to call tlb_invalidate_asid().
- Don't allocate all frames for as_area in as_area_create(), but let them be allocated on-demand by as_page_fault().
- Add high-level page fault handler as_page_fault().
- Add as_area_load_mapping(). |
|
684 |
6800 d 10 h |
jermar |
/kernel/trunk/ |
Memory management work.
Move generic 4-level page table interface to genarch
and enable architectures to use different virtual memory
mechanisms (e.g. page hash tables).
Start page hash table support.
Switch ia64 and sparc64 to page hash tables.
Other architectures keep on using 4-level page table interface. |
|
674 |
6804 d 13 h |
cejka |
/kernel/trunk/ |
Support for printing float numbers in kernel removed. |
|
614 |
6826 d 23 h |
palkovsky |
/kernel/trunk/ |
Added support for mips breakpoints.
We have a kind of kernel debugger :-)
Breakpoints on JMP/Branch instructions are not supported and
they are reported after the breakpoint is fired and exited as
a BranchDelay exception. If we found a way, how to detect these
instructions, we would be able to support them as 'one-time' breakpoints. |
|
604 |
6827 d 14 h |
palkovsky |
/kernel/trunk/ |
Make it boot on SGI indy again. |
|
600 |
6828 d 10 h |
jermar |
/kernel/trunk/arch/mips32/ |
Different sizes of TLB on mips32.
R4000 has 48 entries, 4kc has only 16 entries. |
|
575 |
6830 d 1 h |
palkovsky |
/kernel/trunk/ |
Added generic exc_register/exc_dispatch functions,
copied from ia32 architecture. Currently only mips32 uses them.
The chardev_t can now be both input & output device (was
needed for serial driver).
Broken other architectures - ia64, sparc, powerpc will not compile.
Mips32 supports input on all msim, gxemul, indy(tested emulation
in gxemul, loses characters), simics. Simics serial line
is done using polling, I was unable to make it produce
an interrupt when the key was pressed. |
|
568 |
6831 d 9 h |
palkovsky |
/kernel/trunk/ |
Configuration tweaks, now supports both CNF and DNF in config.file. |
|
550 |
6833 d 4 h |
palkovsky |
/kernel/trunk/ |
Completely reworked configuration system. |
|
546 |
6833 d 6 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Fixed mips gxemul architecture. |
|
534 |
6835 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6835 d 6 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
509 |
6847 d 4 h |
jermar |
/kernel/trunk/ |
Basic keyboard support for mips32 (msim). |
|
506 |
6847 d 6 h |
decky |
/kernel/trunk/ |
preparation for init task loading |
|
501 |
6847 d 10 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
486 |
6855 d 3 h |
jermar |
/SPARTAN/trunk/ |
Revert to -O3 for all architectures as the mips32 bug got fixed. |
|
483 |
6855 d 5 h |
jermar |
/SPARTAN/trunk/ |
For now, each architecture must use its own -O switch (-O2 doesn't work for ia64, -O3 doesn't work for mips32).
New mips32 atomic_add() function.
Cleanup. |
|
458 |
6861 d 13 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
457 |
6861 d 13 h |
decky |
/SPARTAN/trunk/ |
new build system almost finished |
|
455 |
6862 d 1 h |
decky |
/SPARTAN/trunk/ |
new build system upgrade
finished work for IA-32, IA-64, PPC-32, SPARC-64 |
|
431 |
6866 d 13 h |
jermar |
/SPARTAN/trunk/arch/ |
IA-64 work.
Exclude external interrupt from universal_handler() scope. |
|
430 |
6868 d 3 h |
jermar |
/SPARTAN/trunk/ |
Move src/ and include/ to generic. |
|
429 |
6868 d 8 h |
jermar |
/SPARTAN/trunk/arch/mips32/ |
For now, compile with -mhard-float.
Libraries required by -msoft-float are not part of gcc.
Moreover, ld doesn't warn about undefined symbols. |
|
391 |
6896 d 3 h |
jermar |
/SPARTAN/trunk/ |
mips32 memory management work.
TLB Refill Exception implemented (passed basic testing).
Remove bit g from struct entry_hi.
Add generic find_mapping().
Add asid to vm_t type, define asid_t to hide architecture specific differences.
Implement ASID allocation for mips32, dummy for other architectures.
Add THE->vm (a.k.a. VM).
Add vm_install_arch().
Move pte_t definition to arch/types.h on each architecture.
Fix PTL manipulating functions on mips32 to shift pfn by 12 instead of by 14.
Fix tlb_init_arch() to initialize all entries.
Other.
Remove unnecessary header files from arch.h
Add missing headers here and there.
Remove two unnecessary ld flags from mips32 makefile. |
|
376 |
6905 d 8 h |
jermar |
/SPARTAN/trunk/ |
Move kernel build files one level up the directory tree.
Fix paths in your testing environment! |
|
364 |
6910 d 15 h |
palkovsky |
/SPARTAN/trunk/ |
Added support for msim with 4kc instructions.
Fixed support for upstream msim.
Small boot fix on Indy. |
|
342 |
6918 d 11 h |
jermar |
/SPARTAN/trunk/arch/ |
Rename ppc port to ppc32. |
|
341 |
6918 d 11 h |
jermar |
/SPARTAN/trunk/ |
Rename mips port to mips32. |
|
339 |
6919 d 9 h |
palkovsky |
/SPARTAN/trunk/arch/mips/ |
Make the objcopy files compatibile with gnu-sgi-irix linker. |
|
332 |
6919 d 12 h |
palkovsky |
/SPARTAN/trunk/ |
Updated symtab so that it works correctly with BE architectures.
Changed compiler for BE MIPS to be mips-sgi-irix5, because
mipsel -EB does not behave correctly.
Doc updates to amd64.
Added ARC BIOS support to MIPS architecture. Putchar works correctly,
kernel passed FPU & some rwlock tests. |
|
330 |
6920 d 7 h |
palkovsky |
/SPARTAN/trunk/arch/mips/ |
Fixed bad address loading in simulators.
FPU cooprocessor unusable now checks, if it is FPU that is unusable. |
|
329 |
6920 d 8 h |
palkovsky |
/SPARTAN/trunk/ |
Basic changes to boot it on SGI Indy. |
|
326 |
6921 d 0 h |
palkovsky |
/SPARTAN/trunk/ |
Cleanup of makefiles to have common options in one main makefile.
Add simple build process for different simulators for MIPS.
Added FPU context & lazy FPU context switching to MIPS.
Cleanup of MIPS linker script.
Moved MIPS kernel above 1MB. Not tested on real machine yet, but it might help.
There is something broken with gcc inlined memcpy (either simulator or gcc), it is disabled on BigEndian mips now. |
|
324 |
6921 d 11 h |
palkovsky |
/SPARTAN/trunk/ |
MIPS architecture now works without any problems in
- msim: compile as OUTPUT_FORMAT(binary)
- gxemul: compile as OUTPUT_FORMAT(ecoff-littlemips), or create
configuration file for binary format (will be done later)
- simics: compile as OUTPUT_FORMAT(elf32-little), might work with binary
format, didn't try yet. |
|
313 |
6924 d 2 h |
palkovsky |
/SPARTAN/trunk/arch/ |
MIPS bug fixes.
Added usermode to MIPS, unfortunately impossible to test until
MM is ready. |
|
293 |
6926 d 1 h |
palkovsky |
/SPARTAN/trunk/ |
Symbol table now contains static functions too.
NOTE: gcc heavily inlines, be aware of optimizations.
Removed excesive item from boot page tables. |
|