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
1933 6438 d 8 h jermar /trunk/kernel/generic/ Implement efficient IPC notification cleanup.  
1932 6438 d 9 h jermar /trunk/kernel/ Do not copy notification config out of the IRQ structure.
Add the notify member, that toggles notifications on and off instead.
This is good for preventing other tasks from registering the notification
while the notification config is stored outside the IRQ structure.
It should also help to implement the cleanup code.
 
1924 6439 d 8 h jermar /trunk/kernel/generic/ For the sake of clarity, get rid of negative INR for virtual interrupts.
This way, the code can hurt performance on systems where the non-negative klog INR overlaps
with a frequently used INR such as system clock on amd64 and ia32.
 
1923 6439 d 9 h jermar /trunk/ Replace the old IRQ dispatcher and IPC notifier with new implementation.
Note that all architectures except for sparc64 are now broken
and don't even compile.
 
1919 6442 d 9 h jermar /trunk/kernel/ Prototypical implementation of new IRQ redirector in sparc64.
The new code can support shared IRQs in kernel (and multiple IRQs per device).
Userspace support is yet to be written.
The only architecture that uses this code is actually sparc64 only.
 
1888 6471 d 12 h jermar /trunk/ C99 compliant header guards (hopefully) everywhere in the kernel.
Formatting and indentation changes.
Small improvements in sparc64.
 
1877 6476 d 20 h jermar /trunk/kernel/ Coding style fixes.
Remove unneeded sparc64 dummy functions.
 
1787 6536 d 11 h decky / move kernel/trunk, uspace/trunk and boot/trunk to trunk/kernel, trunk/uspace and trunk/boot  
1780 6543 d 12 h jermar /kernel/trunk/ Replace old __u?? types with respective C99 variants (e.g. uint32_t, int64_t, uintptr_t etc.).  
1712 6561 d 10 h palkovsky /kernel/trunk/generic/ Send to uspace notification about end of kconsole mode.  
1702 6564 d 15 h cejka /kernel/trunk/ Kernel doxygen comments updated.  
1693 6566 d 12 h palkovsky /kernel/trunk/generic/ Modified ipc/irq to be able to pass up to 3 arguments to userspace.  
1643 6570 d 19 h palkovsky /kernel/trunk/generic/ IPC made faster in non-debug mode.  
1625 6571 d 6 h decky /kernel/trunk/ ppc32 uspace keyboard support  
1595 6571 d 22 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.
 
1591 6572 d 7 h palkovsky /kernel/trunk/generic/ Small updates to ipc.  
1582 6572 d 19 h palkovsky /kernel/trunk/generic/ Modified ipc_cleanup.  
1573 6573 d 12 h palkovsky /kernel/trunk/generic/ Renamed some things in IPC to be consistent.
Added ipc reporting to kconsole.
 
1568 6573 d 14 h palkovsky /kernel/trunk/generic/ Slightly remodelled ipc hangups to facilitate correct cleanup.
Doc updates for frame allocator.
 
1507 6575 d 15 h vana /kernel/trunk/ IA64 uspace keyboard kernel part  
1502 6575 d 17 h jermar /kernel/trunk/ Replace nonblocking argument of waitq_sleep_timeout with flags that specify mode of operation.
Now a flag can be used to specify interruptible sleep.
Modify waitq_interrupt_sleep() to only interrupt threads that used this flag.
O
 
1461 6577 d 15 h palkovsky /kernel/trunk/generic/ Slightly changed semantics of AS_AREA_SEND/RECV.  
1428 6581 d 7 h palkovsky /kernel/trunk/generic/ Added 256K slab, so that AMD can boot (until ELF loader is fixed).
Added AS_AREA_RECV so that the caller can receive AS_AREA.
 
1364 6591 d 15 h jermar /kernel/trunk/generic/ Modify ipc_wait_for_call() to support all of blocking, non-blocking and timeout operation.  
1359 6592 d 12 h jermar /kernel/trunk/generic/ Rename IPC_M_AS_SEND to IPC_M_AS_AREA_SEND.  
1342 6592 d 20 h jermar /kernel/trunk/generic/ Improve comments.  
1329 6594 d 12 h palkovsky /kernel/trunk/generic/ Added support to IPC for simple page sharing.  
1284 6605 d 21 h palkovsky /kernel/trunk/generic/ Added commands for accessing ia32 portspace in irq top-half.  
1281 6606 d 8 h palkovsky /kernel/trunk/ Added means to make a simple action upon interrupt.  
1258 6609 d 7 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.
 
1090 6650 d 10 h palkovsky /kernel/trunk/generic/ Reduced unnecessary IPC system calls.
Allow everything to be sync & async, everything is handled using messages.
 
1088 6650 d 17 h palkovsky /kernel/trunk/generic/ More IPC stuff, added correct closing of connections from both sides.  
1086 6651 d 6 h palkovsky /kernel/trunk/generic/ Untested better IPC functions.
* There is some bug in MIPS, unpredicatbly sometimes the thread gets mapped
different frame for stack.
 
1084 6652 d 4 h palkovsky /kernel/trunk/ Better IPC implementation with regard to locking and final cleanup.  
1072 6652 d 18 h palkovsky /kernel/trunk/ Added debugger to AMD64.
Added automatic debugging of AS if it is not rewritten with zero.
Did small changes to IPC infrastructure.
 
1066 6653 d 4 h jermar /kernel/trunk/ Support for user space threads.  
1060 6653 d 9 h palkovsky /kernel/trunk/ Added task_print.
Fixed ipc to support connect_me_to.
 
1050 6653 d 14 h palkovsky /kernel/trunk/ Added null console for buffering output when no real output available.
Added identity mapper for AMD64 that allows whole physical memory to be
accessed before paging is initialized.
 
1040 6653 d 17 h palkovsky /kernel/trunk/generic/ Changed ipc to use spinlocks instead of mutexes again.
Fixed loading inits to set nameservice as the first loaded process.
Lot of TODO in ipc done.
 
1027 6654 d 5 h palkovsky /kernel/trunk/ Implemented callback IPC call (connect_to_me).