Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1958 6455 d 3 h decky /trunk/kernel/arch/amd64/ amd64: adopt new IRQ interface  
1940 6463 d 23 h decky /trunk/kernel/arch/amd64/ amd64: fix compilation, keyboard not checked yet  
1937 6464 d 7 h decky /trunk/kernel/arch/ remove orphaned functions  
1901 6486 d 1 h jermar /trunk/kernel/ Make SMP related parts of main.c more generic.
Move initialization of local APIC to architecture specific code.
Add arch_post_cpu_init() to support the above.
 
1888 6497 d 23 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1877 6503 d 7 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
1854 6514 d 5 h jermar /trunk/kernel/ Define architecture-specific thread sub-constructors and sub-destructors on all architectures.
Define the THREAD_FLAG_USPACE which means that the thread runs in user space.
The forementioned changes allow for allocating of user window buffer on sparc64
threads that execute in userspace.

A lot of formatting and indentation fixes.
 
1842 6534 d 3 h jermar /trunk/kernel/ i8042 and z8530 separated, the tree compiles again.
Now there is some duplicated code in i8042.c and z8530.c,
but that can be eliminated in slower pace.
 
1833 6541 d 16 h decky /trunk/kernel/ more sophisticated initial stack handling  
1787 6562 d 22 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6569 d 23 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1735 6586 d 6 h decky /kernel/trunk/ make kernel prints case consistent  
1731 6586 d 16 h jermar /kernel/trunk/ Updates in Doxygen-style comments.
Make architecture specific modules appear conditionally in the documentation.
Add time management module.
Improve names of other modules and sort module order
to be more like in the design documentation.
 
1724 6587 d 8 h palkovsky /kernel/trunk/arch/ Let mouse work on amd64 too.  
1705 6590 d 5 h cejka /kernel/trunk/ Added file with modules definitions and descriptions.
We are able to change modules order and their description in one place.
 
1704 6590 d 8 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6591 d 2 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1641 6597 d 6 h decky /kernel/trunk/arch/ port VESA VBE changes to AMD64  
1595 6598 d 9 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.
 
1587 6598 d 23 h jermar /kernel/trunk/ task_destroy() implementation, fixes in as_destroy() and task_kill().
This is the first version of HelenOS that would perform complete cleanup leading from thread to destruction of address space.
 
1477 6603 d 11 h decky /kernel/trunk/arch/ cleanup  
1474 6603 d 18 h palkovsky /kernel/trunk/ Added syscall that lets kernel regain access to keyboard.  
1473 6603 d 21 h decky /kernel/trunk/ kernel support for text-only framebuffer  
1411 6610 d 23 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.
 
1382 6614 d 19 h decky /kernel/trunk/ make hardware memory mapping more generic  
1303 6625 d 22 h palkovsky /kernel/trunk/arch/ zone_merge_all must be called after frame_init is completed - otherwise
new zone information can be allocated over the not-yet-blacklisted areas.
 
1292 6630 d 1 h vana /kernel/trunk/arch/ VESA FB cut unwanted  
1291 6630 d 2 h vana /kernel/trunk/arch/amd64/src/boot/ VESA detection failure fix on amd64  
1289 6630 d 3 h vana /kernel/trunk/arch/ Amd64 framebuffer  
1288 6630 d 4 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.
 
1281 6632 d 19 h palkovsky /kernel/trunk/ Added means to make a simple action upon interrupt.  
1278 6632 d 22 h palkovsky /kernel/trunk/ Changed interrupt_control to preemption_control.  
1263 6634 d 5 h jermar /kernel/trunk/arch/ When seting TSS limit, take the mandatory extra ending byte with all bits set into account.
Align this group of eight bits on byte boundary.
 
1261 6635 d 3 h jermar /kernel/trunk/arch/ Fixes in amd64 and ia32 ddi_iospace_enable_arch().  
1258 6635 d 18 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.
 
1257 6636 d 1 h jermar /kernel/trunk/arch/ Initialize amd64 and ia32 task iomapver generation counter.  
1256 6636 d 1 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.
 
1255 6636 d 5 h jermar /kernel/trunk/arch/ I/O Permission bitmap fixes. The trailing all-one sequence must be 8 bits long.
Update TSS limit in a proper way.
 
1252 6636 d 5 h palkovsky /kernel/trunk/arch/amd64/src/ Fix amd64 SMP boot when tss for AP CPU gets allocated in memory >20MB.  
1251 6637 d 2 h jermar /kernel/trunk/ Fix BITS2BYTES macro to return 0 when passed 0 as argument.
Fix ia32 TSS segment granularity to be 0.
Fix ia32 and amd64 initial TSS limit to be 103.
Little textual changes here and there.