Rev |
Age |
Author |
Path |
Log message |
Diff |
897 |
6834 d 1 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 |
6843 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 |
6853 d 11 h |
palkovsky |
/kernel/trunk/ |
Small cleanup. |
|
814 |
6853 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 |
6854 d 3 h |
jermar |
/kernel/trunk/ |
Documentation and dot.bochsrc upgrade. |
|
797 |
6855 d 7 h |
palkovsky |
/kernel/trunk/arch/mips32/ |
Fixed uspace address constants. |
|
796 |
6855 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. |
|
794 |
6855 d 9 h |
palkovsky |
/kernel/trunk/ |
Added MIPS userspace. Currently can't make it work in gxemul. |
|
703 |
6879 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(). |
|
614 |
6910 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. |
|
590 |
6913 d 7 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 |
6914 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. |
|
573 |
6914 d 7 h |
palkovsky |
/kernel/trunk/ |
Added MIPS ARC memory initializaiton. |
|
534 |
6919 d 5 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6919 d 6 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
510 |
6931 d 1 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 |
6931 d 4 h |
jermar |
/kernel/trunk/ |
Basic keyboard support for mips32 (msim). |
|
503 |
6931 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 |
6931 d 10 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
413 |
6967 d 2 h |
jermar |
/SPARTAN/trunk/ |
Rename cpu_priority_{high|low|restore|read} functions to interrupts_{disable|enable|restore|read}.
Rename pri_t to ipl_t (Interrupt Priority Level).
Rename thread_t::pri to thread_t::priority. |
|