Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4274 |
5609 d 14 h |
decky |
/trunk/kernel/generic/src/ |
fix compilation in non-SMP configurations |
|
/trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c
|
4254 |
5616 d 14 h |
jermar |
/trunk/kernel/generic/src/ |
Address issues with IRQ notifications. |
|
/trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c
|
4252 |
5616 d 16 h |
decky |
/trunk/kernel/ |
move event notification to the ipc directory (where it probably belogs to, side-by-side to IRQ notifications)
cleanup the notification code a little bit (there is probably no need to allocate two structured dynamically) |
|
/trunk/kernel/generic/include/ipc/event.h /trunk/kernel/generic/include/ipc/event_types.h /trunk/kernel/generic/src/ipc/event.c
/trunk/kernel/generic/include/event /trunk/kernel/generic/src/event
/trunk/kernel/Makefile /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/syscall/syscall.c
|
4248 |
5616 d 20 h |
decky |
/trunk/kernel/generic/src/ipc/ |
avoid deadlock during cleanup
(the compare function which is called inside hash_table_remove acquires irq->lock) |
|
/trunk/kernel/generic/src/ipc/irq.c
|
4173 |
5630 d 14 h |
jermar |
/trunk/ |
Revive kernel notifications. |
|
/trunk/kernel/generic/include/event /trunk/kernel/generic/include/event/event.h /trunk/kernel/generic/include/event/event_types.h /trunk/kernel/generic/src/event /trunk/kernel/generic/src/event/event.c /trunk/uspace/lib/libc/generic/event.c /trunk/uspace/lib/libc/include/event.h
/trunk/kernel/Makefile /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/console/kconsole.c /trunk/kernel/generic/src/ipc/ipc.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/klog/klog.c /trunk/uspace/app/trace/syscalls.c /trunk/uspace/lib/libc/Makefile /trunk/uspace/srv/console/console.c
|
4041 |
5646 d 20 h |
jermar |
/trunk/kernel/generic/ |
If the server cannot receive a call because it supplied a bad userspace address, the kernel will immediately answer the call with EPARTY. |
|
/trunk/kernel/generic/include/errno.h /trunk/kernel/generic/src/ipc/sysipc.c
|
4040 |
5647 d 23 h |
decky |
/trunk/kernel/generic/src/ipc/ |
add TODO |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
3964 |
5657 d 22 h |
decky |
/trunk/kernel/ |
switch between the preference of kernel/uspace IRQ hash table |
|
/trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/generic/include/console/console.h /trunk/kernel/generic/src/console/console.c /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c
|
3947 |
5660 d 18 h |
jermar |
/trunk/ |
This is the evil commit. In particular, it does:
- introduces more powerful pseudo code for userspace IRQ top-half handlers
- changes the internals of IRQ dispatching
- simplifies the kernel's i8042 driver
- adapts the uspace i8042 driver to make use of the new pseudocode
- breaks all other architectures except ia32
- breaks almost all existing drivers
- breaks switching between uspace and kernel drivers |
|
/trunk/kernel/arch/ia32/src/ia32.c /trunk/kernel/genarch/src/kbd/i8042.c /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/irq.h /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/ipc/irq.c /trunk/uspace/srv/kbd/port/i8042.c
|
3930 |
5662 d 14 h |
jermar |
/trunk/kernel/ |
Adapt most of the kernel to ioport8_t, ioport16_t and ioport32_t types. |
|
/trunk/kernel/arch/ia32/include/drivers/ega.h /trunk/kernel/arch/ia32/include/drivers/i8259.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/drivers/ega.h /trunk/kernel/genarch/include/drivers/ega/ega.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|
3902 |
5666 d 20 h |
jermar |
/trunk/kernel/ |
Introduce a more platform-neutral name for programmed I/O.
The new API looks like pio_read_n() or pio_write_n(), where n is 8, 16 or 32.
The old API (i.e. inb(), inw(), inl(), outb() outw(), outl()) may have made
some people think that the interface is only to be used with the separate I/O
space. That's not the case. This API is to be implemented on all platforms
so that we can finally have really generic kernel device drivers. |
|
/trunk/kernel/arch/amd64/include/asm.h /trunk/kernel/arch/arm32/include/asm.h /trunk/kernel/arch/ia32/include/asm.h /trunk/kernel/arch/ia32/include/drivers/i8042.h /trunk/kernel/arch/ia32/src/drivers/i8254.c /trunk/kernel/arch/ia32/src/drivers/i8259.c /trunk/kernel/arch/ia32/src/smp/smp.c /trunk/kernel/arch/ia64/include/asm.h /trunk/kernel/arch/ia64/include/drivers/i8042.h /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/mips32/include/asm.h /trunk/kernel/arch/ppc32/include/asm.h /trunk/kernel/arch/sparc64/include/asm.h /trunk/kernel/genarch/include/kbd/ns16550.h /trunk/kernel/genarch/src/drivers/ega/ega.c /trunk/kernel/generic/src/ipc/irq.c
|
3875 |
5669 d 16 h |
decky |
/trunk/kernel/generic/ |
remove platform dependent constructs from generic code |
|
/trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/fpu_context.h /trunk/kernel/generic/src/console/cmd.c /trunk/kernel/generic/src/ipc/irq.c /trunk/kernel/generic/src/main/version.c /trunk/kernel/generic/src/proc/thread.c
|
3870 |
5671 d 0 h |
decky |
/trunk/kernel/generic/src/ |
add includes necessary for LOG macro |
|
/trunk/kernel/generic/src/ipc/kbox.c /trunk/kernel/generic/src/udebug/udebug.c /trunk/kernel/generic/src/udebug/udebug_ops.c
|
3867 |
5671 d 22 h |
svoboda |
/trunk/kernel/generic/src/ipc/ |
Bugfix: Check kbox, not regular box. In case where the debugger disconnected first and then the application terminated, the application task would not be cleaned up. |
|
/trunk/kernel/generic/src/ipc/kbox.c
|
3819 |
5687 d 16 h |
jermar |
/trunk/ |
Introduce a new syscall: SYS_IPC_FORWARD_SLOW. |
|
/trunk/kernel/generic/include/ipc/sysipc.h /trunk/kernel/generic/include/syscall/syscall.h /trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/uspace/app/trace/syscalls.c /trunk/uspace/lib/libc/generic/ipc.c /trunk/uspace/lib/libc/include/ipc/ipc.h
|
3657 |
5744 d 0 h |
vana |
/trunk/ |
Legacy IRQ support, uspace NS16550 support, some minor changes |
|
/trunk/boot/arch/ia64/loader/gefi/HelenOS/mkimage.c /trunk/kernel/arch/ia64/include/drivers/kbd.h /trunk/uspace/lib/libc/arch/ia64/include/ddi.h /trunk/uspace/lib/libc/arch/ia64/src/ddi.c
/trunk/kernel/Makefile /trunk/kernel/arch/ia64/include/interrupt.h /trunk/kernel/arch/ia64/src/drivers/ega.c /trunk/kernel/arch/ia64/src/ia64.c /trunk/kernel/arch/ia64/src/interrupt.c /trunk/kernel/arch/ia64/src/ski/ski.c /trunk/kernel/genarch/src/kbd/ns16550.c /trunk/kernel/generic/src/ipc/irq.c /trunk/kernel/kernel.config /trunk/uspace/srv/fb/ega.c /trunk/uspace/srv/kbd/arch/ia64/src/kbd.c
|
3620 |
5751 d 1 h |
svoboda |
/trunk/kernel/generic/ |
Move stuff related to kbox to a separate struct. |
|
/trunk/kernel/generic/include/ipc/kbox.h /trunk/kernel/generic/include/proc/task.h /trunk/kernel/generic/src/ipc/kbox.c /trunk/kernel/generic/src/proc/task.c /trunk/kernel/generic/src/udebug/udebug_ipc.c
|
3603 |
5752 d 14 h |
svoboda |
/trunk/ |
Stoppability sections must be much smaller (design error). Also fix deadlock in udebug_stop(). Fix pause functionality in tracer. |
|
/trunk/kernel/generic/src/ipc/sysipc.c /trunk/kernel/generic/src/synch/futex.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/kernel/generic/src/udebug/udebug_ops.c /trunk/uspace/app/trace/trace.c
|
3496 |
5782 d 16 h |
svoboda |
/trunk/kernel/generic/src/ipc/ |
Split and streamline kbox_thread_proc(). |
|
/trunk/kernel/generic/src/ipc/kbox.c
|
3495 |
5782 d 16 h |
svoboda |
/trunk/kernel/generic/src/ipc/ |
Synchronize properly when detaching kbox from within. |
|
/trunk/kernel/generic/src/ipc/kbox.c
|