Subversion Repositories HelenOS

Rev

Go to most recent revision | Show changed files | Directory listing | RSS feed

Filtering Options

Rev Age Author Path Log message Diff
1940 6450 d 11 h decky /trunk/kernel/arch/amd64/ amd64: fix compilation, keyboard not checked yet  
1937 6450 d 18 h decky /trunk/kernel/arch/ remove orphaned functions  
1901 6472 d 13 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 6484 d 11 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1877 6489 d 18 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
1854 6500 d 17 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 6520 d 14 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 6528 d 3 h decky /trunk/kernel/ more sophisticated initial stack handling  
1787 6549 d 9 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6556 d 11 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1735 6572 d 17 h decky /kernel/trunk/ make kernel prints case consistent  
1731 6573 d 3 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 6573 d 20 h palkovsky /kernel/trunk/arch/ Let mouse work on amd64 too.  
1705 6576 d 16 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 6576 d 20 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6577 d 13 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1641 6583 d 17 h decky /kernel/trunk/arch/ port VESA VBE changes to AMD64  
1595 6584 d 20 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 6585 d 10 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 6589 d 23 h decky /kernel/trunk/arch/ cleanup  
1474 6590 d 6 h palkovsky /kernel/trunk/ Added syscall that lets kernel regain access to keyboard.  
1473 6590 d 8 h decky /kernel/trunk/ kernel support for text-only framebuffer  
1411 6597 d 11 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 6601 d 7 h decky /kernel/trunk/ make hardware memory mapping more generic  
1303 6612 d 10 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 6616 d 13 h vana /kernel/trunk/arch/ VESA FB cut unwanted  
1291 6616 d 14 h vana /kernel/trunk/arch/amd64/src/boot/ VESA detection failure fix on amd64  
1289 6616 d 14 h vana /kernel/trunk/arch/ Amd64 framebuffer  
1288 6616 d 16 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 6619 d 6 h palkovsky /kernel/trunk/ Added means to make a simple action upon interrupt.  
1278 6619 d 10 h palkovsky /kernel/trunk/ Changed interrupt_control to preemption_control.  
1263 6620 d 16 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 6621 d 15 h jermar /kernel/trunk/arch/ Fixes in amd64 and ia32 ddi_iospace_enable_arch().  
1258 6622 d 6 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 6622 d 13 h jermar /kernel/trunk/arch/ Initialize amd64 and ia32 task iomapver generation counter.  
1256 6622 d 13 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 6622 d 16 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 6622 d 17 h palkovsky /kernel/trunk/arch/amd64/src/ Fix amd64 SMP boot when tss for AP CPU gets allocated in memory >20MB.  
1251 6623 d 13 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.
 
1247 6624 d 11 h vana /kernel/trunk/arch/amd64/src/smp/ Same 24 - > 32 bit lgdt patch on amd64 arch. Now both ia32 and amd64 platforms are able to have AP GDTs in all lowest 4GB of physicall memory.