Rev |
Age |
Author |
Path |
Log message |
Diff |
938 |
6819 d 7 h |
jermar |
/kernel/trunk/ |
Basic support for loading ELF object files.
ia64, amd64, ia32 working.
mips32 requires some attention. |
|
897 |
6832 d 2 h |
jermar |
/kernel/trunk/ |
sparc64 work.
Fix KBD_VIRT_ADDRESS.
Call before_thread_runs() prior to the switch to the thread's stack. Add comment why this is crucial.
Add after_thread_ran() to the scheduler.
Add before_thread_runs_arch() and after_thread_ran_arch() for sparc64, mapping/demapping thread's kernel stack.
Add dummy after_thread_ran_arch() to all other architectures.
Add dtlb_insert_mapping() to promote code reuse. |
|
853 |
6841 d 10 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Some arc bios tweaks. Wanted to print configuration data, but
the ARC seems to return strange values.
Newport graphics card does not seem to be easy to port, give up now. |
|
817 |
6851 d 12 h |
palkovsky |
/kernel/trunk/ |
Small cleanup. |
|
814 |
6851 d 13 h |
palkovsky |
/kernel/trunk/ |
Cleanup o frame allocator.
Removed early_malloc & initial heap.
Will break ia64, ppc & sparc.
Added e820 table print. |
|
812 |
6852 d 4 h |
jermar |
/kernel/trunk/ |
Documentation and dot.bochsrc upgrade. |
|
797 |
6853 d 8 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Fixed uspace address constants. |
|
796 |
6853 d 9 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. |
|
794 |
6853 d 10 h |
palkovsky |
/kernel/trunk/ |
Added MIPS userspace. Currently can't make it work in gxemul. |
|
703 |
6877 d 13 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(). |
|
614 |
6909 d 0 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. |
|
590 |
6911 d 8 h |
palkovsky |
/kernel/trunk/ |
Move all MIPS exceptions to generic dispatcher.
Align size in malloc() to __native size, some architectures
don't like it unaligned. |
|
575 |
6912 d 2 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. |
|
573 |
6912 d 7 h |
palkovsky |
/kernel/trunk/ |
Added MIPS ARC memory initializaiton. |
|
534 |
6917 d 6 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6917 d 6 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
510 |
6929 d 2 h |
jermar |
/kernel/trunk/ |
Add chardev_t.
This type is meant to abstract any input character device such as keyboard, serial port etc.
Add stdin.
Add dummy kconsole. |
|
509 |
6929 d 4 h |
jermar |
/kernel/trunk/ |
Basic keyboard support for mips32 (msim). |
|
503 |
6929 d 9 h |
jermar |
/kernel/trunk/ |
Rename arch_late_init() to arch_pre_smp_init().
Add arch_post_smp_init().
Enable IRQ_KBD on ia-32 (doesn't work on Bochs SMP, works on Bochs UP). |
|
501 |
6929 d 11 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|