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 6560 d 20 h decky /trunk/kernel/arch/amd64/ amd64: fix compilation, keyboard not checked yet  
1937 6561 d 3 h decky /trunk/kernel/arch/ remove orphaned functions  
1901 6582 d 22 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 6594 d 20 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1877 6600 d 3 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
1854 6611 d 2 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 6630 d 23 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 6638 d 12 h decky /trunk/kernel/ more sophisticated initial stack handling  
1787 6659 d 18 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6666 d 19 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1735 6683 d 2 h decky /kernel/trunk/ make kernel prints case consistent  
1731 6683 d 12 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 6684 d 5 h palkovsky /kernel/trunk/arch/ Let mouse work on amd64 too.  
1705 6687 d 1 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 6687 d 5 h cejka /kernel/trunk/ Fixed first letter size of subgroup name in Others.  
1702 6687 d 22 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1641 6694 d 2 h decky /kernel/trunk/arch/ port VESA VBE changes to AMD64  
1595 6695 d 5 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 6695 d 19 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 6700 d 7 h decky /kernel/trunk/arch/ cleanup  
1474 6700 d 14 h palkovsky /kernel/trunk/ Added syscall that lets kernel regain access to keyboard.  
1473 6700 d 17 h decky /kernel/trunk/ kernel support for text-only framebuffer  
1411 6707 d 20 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 6711 d 16 h decky /kernel/trunk/ make hardware memory mapping more generic  
1303 6722 d 19 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 6726 d 22 h vana /kernel/trunk/arch/ VESA FB cut unwanted  
1291 6726 d 22 h vana /kernel/trunk/arch/amd64/src/boot/ VESA detection failure fix on amd64  
1289 6726 d 23 h vana /kernel/trunk/arch/ Amd64 framebuffer  
1288 6727 d 1 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 6729 d 15 h palkovsky /kernel/trunk/ Added means to make a simple action upon interrupt.  
1278 6729 d 18 h palkovsky /kernel/trunk/ Changed interrupt_control to preemption_control.  
1263 6731 d 1 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 6732 d 0 h jermar /kernel/trunk/arch/ Fixes in amd64 and ia32 ddi_iospace_enable_arch().  
1258 6732 d 15 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 6732 d 22 h jermar /kernel/trunk/arch/ Initialize amd64 and ia32 task iomapver generation counter.  
1256 6732 d 22 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 6733 d 1 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 6733 d 2 h palkovsky /kernel/trunk/arch/amd64/src/ Fix amd64 SMP boot when tss for AP CPU gets allocated in memory >20MB.  
1251 6733 d 22 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 6734 d 20 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.