Rev |
Age |
Author |
Path |
Log message |
Diff |
Changes |
4670 |
5502 d 20 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Interrupts should be disabled when acquiring answerbox's irq_lock. |
|
/trunk/kernel/generic/src/ipc/event.c
|
4490 |
5557 d 14 h |
decky |
/trunk/kernel/ |
remove redundant index_t and count_t types (which were always quite ambiguous and not actually needed) |
|
/trunk/kernel/arch/amd64/include/cpu.h /trunk/kernel/arch/amd64/include/mm/page.h /trunk/kernel/arch/amd64/include/proc/task.h /trunk/kernel/arch/amd64/include/types.h /trunk/kernel/arch/amd64/src/ddi/ddi.c /trunk/kernel/arch/amd64/src/interrupt.c /trunk/kernel/arch/arm32/include/mm/page.h /trunk/kernel/arch/arm32/include/types.h /trunk/kernel/arch/arm32/src/mm/tlb.c /trunk/kernel/arch/ia32/include/cpu.h /trunk/kernel/arch/ia32/include/mm/page.h /trunk/kernel/arch/ia32/include/proc/task.h /trunk/kernel/arch/ia32/include/smp/smp.h /trunk/kernel/arch/ia32/include/types.h /trunk/kernel/arch/ia32/src/ddi/ddi.c /trunk/kernel/arch/ia32/src/interrupt.c /trunk/kernel/arch/ia32/src/mm/frame.c /trunk/kernel/arch/ia32/src/mm/tlb.c /trunk/kernel/arch/ia32/src/smp/mps.c /trunk/kernel/arch/ia64/include/mm/page.h /trunk/kernel/arch/ia64/include/mm/tlb.h /trunk/kernel/arch/ia64/include/types.h /trunk/kernel/arch/ia64/src/mm/page.c /trunk/kernel/arch/ia64/src/mm/tlb.c /trunk/kernel/arch/ia64/src/mm/vhpt.c /trunk/kernel/arch/mips32/include/arch.h /trunk/kernel/arch/mips32/include/debugger.h /trunk/kernel/arch/mips32/include/mm/page.h /trunk/kernel/arch/mips32/include/types.h /trunk/kernel/arch/mips32/src/mips32.c /trunk/kernel/arch/mips32/src/mm/frame.c /trunk/kernel/arch/mips32/src/mm/tlb.c /trunk/kernel/arch/ppc32/include/mm/page.h /trunk/kernel/arch/ppc32/include/types.h /trunk/kernel/arch/ppc32/src/mm/frame.c /trunk/kernel/arch/ppc32/src/mm/tlb.c /trunk/kernel/arch/sparc64/include/mm/tlb.h /trunk/kernel/arch/sparc64/include/mm/tsb.h /trunk/kernel/arch/sparc64/include/types.h /trunk/kernel/arch/sparc64/src/drivers/fhc.c /trunk/kernel/arch/sparc64/src/drivers/pci.c /trunk/kernel/arch/sparc64/src/mm/as.c /trunk/kernel/arch/sparc64/src/mm/tlb.c /trunk/kernel/arch/sparc64/src/mm/tsb.c /trunk/kernel/arch/sparc64/src/smp/smp.c /trunk/kernel/genarch/src/acpi/madt.c /trunk/kernel/genarch/src/mm/asid.c /trunk/kernel/genarch/src/mm/page_ht.c /trunk/kernel/genarch/src/ofw/ebus.c /trunk/kernel/genarch/src/ofw/fhc.c /trunk/kernel/genarch/src/ofw/ofw_tree.c /trunk/kernel/genarch/src/ofw/pci.c /trunk/kernel/genarch/src/ofw/sbus.c /trunk/kernel/generic/include/adt/bitmap.h /trunk/kernel/generic/include/adt/btree.h /trunk/kernel/generic/include/adt/fifo.h /trunk/kernel/generic/include/adt/hash_table.h /trunk/kernel/generic/include/arch.h /trunk/kernel/generic/include/config.h /trunk/kernel/generic/include/console/chardev.h /trunk/kernel/generic/include/console/console.h /trunk/kernel/generic/include/console/kconsole.h /trunk/kernel/generic/include/cpu.h /trunk/kernel/generic/include/ddi/irq.h /trunk/kernel/generic/include/ipc/event.h /trunk/kernel/generic/include/mm/as.h /trunk/kernel/generic/include/mm/frame.h /trunk/kernel/generic/include/mm/slab.h /trunk/kernel/generic/include/mm/tlb.h /trunk/kernel/generic/include/proc/scheduler.h /trunk/kernel/generic/include/sort.h /trunk/kernel/generic/include/string.h /trunk/kernel/generic/include/symtab.h /trunk/kernel/generic/include/synch/futex.h /trunk/kernel/generic/include/synch/rwlock.h /trunk/kernel/generic/include/synch/spinlock.h /trunk/kernel/generic/src/adt/bitmap.c /trunk/kernel/generic/src/adt/btree.c /trunk/kernel/generic/src/adt/hash_table.c /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/ddi/ddi.c /trunk/kernel/generic/src/ddi/irq.c /trunk/kernel/generic/src/debug/symtab.c /trunk/kernel/generic/src/ipc/event.c /trunk/kernel/generic/src/lib/sort.c /trunk/kernel/generic/src/lib/string.c /trunk/kernel/generic/src/main/kinit.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/mm/as.c /trunk/kernel/generic/src/mm/backend_anon.c /trunk/kernel/generic/src/mm/backend_elf.c /trunk/kernel/generic/src/mm/frame.c /trunk/kernel/generic/src/mm/slab.c /trunk/kernel/generic/src/mm/tlb.c /trunk/kernel/generic/src/printf/printf_core.c /trunk/kernel/generic/src/printf/vprintf.c /trunk/kernel/generic/src/printf/vsnprintf.c /trunk/kernel/generic/src/proc/scheduler.c /trunk/kernel/generic/src/synch/futex.c /trunk/kernel/generic/src/synch/spinlock.c /trunk/kernel/generic/src/synch/waitq.c /trunk/kernel/generic/src/time/clock.c /trunk/kernel/test/avltree/avltree1.c /trunk/kernel/test/mm/falloc2.c /trunk/kernel/test/mm/purge1.c /trunk/kernel/test/synch/rwlock4.c
|
4460 |
5557 d 15 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Streamline locking of phones during cloning. |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
4430 |
5569 d 0 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Surprisingly easy support for homogenous mounts.
It works by simply allowing autoconnections. |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
4422 |
5570 d 16 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Refuse to clone the phone which is itself used to make the IPC_M_CONNECTION_CLONE call. |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
4407 |
5572 d 12 h |
jermar |
/trunk/ |
Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME. |
|
/trunk/kernel/generic/include/ipc/ipc.h /trunk/kernel/generic/include/ipc/ipcrsc.h /trunk/kernel/generic/src/ipc/ipcrsc.c /trunk/kernel/generic/src/ipc/kbox.c /trunk/kernel/generic/src/ipc/sysipc.c /trunk/uspace/lib/libc/generic/async.c
|
4405 |
5572 d 12 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Do not test the same condition twice. |
|
/trunk/kernel/generic/src/ipc/ipc.c
|
4384 |
5577 d 12 h |
svoboda |
/trunk/kernel/generic/src/ |
Clean up various log messages, mostly udebug. |
|
/trunk/kernel/generic/src/ipc/kbox.c /trunk/kernel/generic/src/main/main.c /trunk/kernel/generic/src/syscall/syscall.c /trunk/kernel/generic/src/udebug/udebug.c /trunk/kernel/generic/src/udebug/udebug_ops.c
|
4304 |
5603 d 18 h |
jermar |
/trunk/kernel/generic/src/ipc/ |
Allow IPC_M_DATA_WRITE to transfer zero data. |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
4274 |
5608 d 12 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 |
5615 d 11 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 |
5615 d 14 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 |
5615 d 18 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 |
5629 d 12 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 |
5645 d 17 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 |
5646 d 20 h |
decky |
/trunk/kernel/generic/src/ipc/ |
add TODO |
|
/trunk/kernel/generic/src/ipc/sysipc.c
|
3964 |
5656 d 20 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 |
5659 d 16 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 |
5661 d 11 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 |
5665 d 18 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
|