Rev |
Age |
Author |
Path |
Log message |
Diff |
1780 |
6749 d 14 h |
jermar |
/kernel/trunk/ |
Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.). |
|
1735 |
6765 d 21 h |
decky |
/kernel/trunk/ |
make kernel prints case consistent |
|
1724 |
6767 d 0 h |
palkovsky |
/kernel/trunk/arch/ |
Let mouse work on amd64 too. |
|
1705 |
6769 d 20 h |
cejka |
/kernel/trunk/ |
Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place. |
|
1703 |
6770 d 0 h |
jermar |
/kernel/trunk/arch/ |
Put sparc64 interrupt stuff under the Interrupt group in Doxygen-generated documentation. |
|
1702 |
6770 d 17 h |
cejka |
/kernel/trunk/ |
Kernel doxygen comments updated. |
|
1690 |
6773 d 11 h |
palkovsky |
/kernel/trunk/ |
Yet another fix with framebuffer. |
|
1595 |
6778 d 0 h |
palkovsky |
/kernel/trunk/ |
Added kernel circular buffer klog.
Added automatic killing of tasks raising inappropriate exceptions.
TODO: Fix vsnprintf return value(and behaviour according to specs) and remove workaround in klog. |
|
1477 |
6783 d 2 h |
decky |
/kernel/trunk/arch/ |
cleanup |
|
1411 |
6790 d 15 h |
jermar |
/kernel/trunk/ |
Modify the hierarchy of page fault handlers to pass access mode that caused the fault.
Architectures are required to pass either PF_ACCESS_READ, PF_ACCESS_WRITE or PF_ACCESS_EXEC
to as_page_fault(), depending on the cause of the fault. |
|
1288 |
6809 d 20 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. |
|
1258 |
6815 d 10 h |
palkovsky |
/kernel/trunk/ |
Added support for IRQ notifiactions.
- seems to work correctly on ia32, amd64
- the mips kbd probably lowers interrupts when the char is read from
the port, we will have to find a way how to deal with it. |
|
1256 |
6815 d 17 h |
jermar |
/kernel/trunk/arch/ |
Improve SYS_IOSPACE_ENABLE support.
The general protection fault handler now contains
code to service early I/O Permission bitmap faults. |
|
1221 |
6822 d 9 h |
decky |
/kernel/trunk/ |
printf-related and other code cleanup |
|
1196 |
6828 d 18 h |
cejka |
/kernel/trunk/ |
Printf ported back from uspace to kernel.
Printf calls changed to match new conventions. |
|
1100 |
6855 d 11 h |
palkovsky |
/kernel/trunk/ |
Cleanup of spinlocks, now compiles both ia32 and amd64 with
and without DEBUG_SPINLOCKS. Made spinlocks inline.
Moved syscall_handler to generic (it was identical for ia32,amd64 & mips32).
Made slightly faster syscall for ia32.
Made better interrupt routines for ia32.
Allow not saving non-scratch registers during interrupt on ia32,amd64,mips32.
Aligned interrupt handlers on ia32,amd64, this should prevent problems
with different instruction lengths. |
|
1019 |
6860 d 16 h |
vana |
/kernel/trunk/arch/ia32/ |
ia32 MMX and SSEx support |
|
1008 |
6860 d 19 h |
jermar |
/kernel/trunk/ |
Fix bug in ia32 interrupt handlers.
Handlers for interrupts greater than 31 wrapped the shift around and thus failed to correctly identify
the need to emulate error word. |
|
959 |
6862 d 11 h |
palkovsky |
/kernel/trunk/ |
New synchronous ipc.
Widened syscall to support up to 5 parameters. |
|
958 |
6862 d 12 h |
jermar |
/kernel/trunk/ |
Nicer ia32 interrupt handlers and structures holding interrupted context data.
Unify the name holding interrupted context data on all architectures to be istate. |
|
955 |
6862 d 12 h |
palkovsky |
/kernel/trunk/ |
Added kernel IPC functionality. |
|
825 |
6894 d 15 h |
jermar |
/kernel/trunk/ |
Remove WAKEUP_IPI stuff.
Make it possible to use PAGE_GLOBAL on ia32, amd64 and mips32.
Make ia32 and amd64 map the kernel using PAGE_GLOBAL. |
|
714 |
6919 d 14 h |
decky |
/kernel/trunk/ |
syscall handler return value
uspace task termination (primitive) |
|
712 |
6919 d 15 h |
decky |
/kernel/trunk/ |
"Hello world" from user space :) |
|
703 |
6921 d 19 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(). |
|
576 |
6956 d 7 h |
palkovsky |
/kernel/trunk/ |
Changed ia32 & amd64 to use exc_register instead of trap_register.
Fixed dependency list building. I hope you all have 'makedepend' installed,
if you don't it's time to install it, as CC -M builds the dependency
list without directory names..and it just does not work. |
|
534 |
6961 d 12 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel again. |
|
532 |
6961 d 12 h |
jermar |
/ |
Revert renaming of HelenOS/SPARTAN to HelenOS/kernel because of important pending patch. |
|
501 |
6973 d 17 h |
jermar |
/ |
Rename HelenOS/SPARTAN to HelenOS/kernel. |
|
458 |
6987 d 19 h |
decky |
/SPARTAN/trunk/ |
make configuration variables usage consistent |
|
413 |
7009 d 8 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. |
|
391 |
7022 d 10 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. |
|
309 |
7050 d 22 h |
palkovsky |
/SPARTAN/trunk/ |
Added architecture independent hooks for fpu lazy context switching.
It is enabled by defining FPU_LAZY |
|
281 |
7053 d 7 h |
palkovsky |
/SPARTAN/trunk/arch/ia32/src/ |
Fixed some stupid typos. |
|
268 |
7053 d 15 h |
palkovsky |
/SPARTAN/trunk/ |
Added symbol table lookup in exceptions.
This breaks ia64 & ppc architecture compiles. |
|
224 |
7055 d 22 h |
palkovsky |
/SPARTAN/trunk/arch/ |
Interrupts for amd64. |
|
216 |
7056 d 8 h |
palkovsky |
/SPARTAN/trunk/ |
hardcoded_symbol fixed into linker script on amd64/ia32/mips architecture |
|
168 |
7067 d 10 h |
jermar |
/SPARTAN/trunk/ |
Add type cast to __address in vm_create().
This seems to fix the problem with userspace.
Looks like KA2PA() returned wrong address when applied on pte_t *.
Uncomment panic() in gp_fault().
Get rid of cli and sti in userspace code. |
|
136 |
7098 d 17 h |
vana |
/SPARTAN/trunk/ |
Error word support debuging and testing passed with #NM & #GP exceptions. |
|
125 |
7103 d 10 h |
jermar |
/SPARTAN/trunk/ |
Huge indentation fix. |
|