Subversion Repositories HelenOS

Rev

Go to most recent revision | Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
2638 6049 d 22 h jermar /trunk/ Sync IPC comments with IPC code.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/srv/fs/fat/fat.h
/trunk/uspace/srv/fs/fat/fat_ops.c
2637 6049 d 22 h cejka /trunk/ Extended IPC_M_CONNECT_TO_ME to use 3 user defined parameters.
Phone identifier is passed in ARG5.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/ipcrsc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/ipc/register.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fb/main.c
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/pci/pci.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_register.c
2636 6051 d 21 h jermar /trunk/ Update comments wrt the previous commit.
Minor formatting fixes.
 
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
2635 6051 d 22 h cejka /trunk/ Function ipc_connect_me_to sends 3 user defined arguments now.
One argument added also to ipc_forward_fast.
Fixed devmap and improved its test.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/include/ipc/sysipc.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/app/tester/devmap/devmap1.c
/trunk/uspace/app/tester/ipc/connect.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/io/stream.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/devmap/devmap.h
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/vfs/vfs_read.c
2634 6052 d 17 h decky /trunk/kernel/arch/mips32/src/ fix trivial bug in storing lastcount  
/trunk/kernel/arch/mips32/src/interrupt.c
2633 6052 d 17 h decky /trunk/kernel/arch/mips32/ CPU cycle accounting on MIPS  
/trunk/kernel/arch/mips32/include/cycle.h
/trunk/kernel/arch/mips32/include/interrupt.h
/trunk/kernel/arch/mips32/src/interrupt.c
2632 6052 d 17 h decky /trunk/kernel/generic/src/proc/ try to kill the tasks fewer times by introducing a delay in iterations  
/trunk/kernel/generic/src/proc/task.c
2630 6057 d 20 h jermar /trunk/kernel/arch/ Formatting fixes.  
/trunk/kernel/arch/amd64/include/proc/task.h
/trunk/kernel/arch/amd64/src/ddi/ddi.c
/trunk/kernel/arch/ia32/include/proc/task.h
/trunk/kernel/arch/ia32/src/ddi/ddi.c
/trunk/kernel/arch/ia32/src/proc/scheduler.c
2626 6059 d 8 h jermar /trunk/kernel/generic/ Support for 5 payload arguments for IPC irq notifications and the pseudo code.  
/trunk/kernel/generic/include/ipc/irq.h
/trunk/kernel/generic/src/console/klog.c
/trunk/kernel/generic/src/ipc/irq.c
2623 6060 d 4 h jermar /trunk/kernel/generic/ Introduce the IPC_FF_ROUTE_FROM_ME forwarding flag.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/src/ipc/ipc.c
2622 6060 d 4 h jermar /trunk/ Add mode argument to IPC forward.
This argument can be used to modify the way forward behaves.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/kernel/generic/include/ipc/sysipc.h
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/ns/ns.c
2620 6062 d 9 h jermar /trunk/ Be more deterministic when a user accidently uses fast version of IPC
call/answer instead of the full one and passes fewer arguments than required by
the recipient of the call/response.

and the recipient interprets arguments that
were actually not passed by the sender.
 
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/uspace/lib/libc/generic/ipc.c
2619 6063 d 21 h jermar /trunk/ Modify ipc_answer_*() to make use of all six syscall arguments. The recommended
means of answering calls is via the ipc_answer_m() macros (where m denotes the
number of return arguments) that automatically decide between the fast register
version or the slow universal version of ipc_answer().
 
/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/tester/ipc/answer.c
/trunk/uspace/app/tester/ipc/register.c
/trunk/uspace/app/tester/ipc/send_async.c
/trunk/uspace/lib/libc/generic/async.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/fb/ega.c
/trunk/uspace/srv/fb/fb.c
/trunk/uspace/srv/fb/main.c
/trunk/uspace/srv/fb/sysio.c
/trunk/uspace/srv/fs/fat/fat.c
/trunk/uspace/srv/kbd/generic/kbd.c
/trunk/uspace/srv/ns/ns.c
/trunk/uspace/srv/pci/pci.c
/trunk/uspace/srv/rd/rd.c
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs_mount.c
/trunk/uspace/srv/vfs/vfs_open.c
/trunk/uspace/srv/vfs/vfs_register.c
2618 6064 d 9 h jermar /trunk/ Modify asynchronous IPC to make use of all six syscall arguments. The preferred
means of asynchronous communication is now via the set of ipc_call_async_m()
macros, where m is the number of payload arguments passed to the kernel. These
macros will automatically decide between the fast and the universal slow version
of ipc_call_async.
 
/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/tester/ipc/send_async.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/console/console.c
2617 6065 d 2 h jermar /trunk/kernel/generic/src/ipc/ STRUCT_TO_USPACE may fail in sys_ipc_call_sync_fast.  
/trunk/kernel/generic/src/ipc/sysipc.c
2615 6065 d 6 h jermar /trunk/ Modify synchronous IPC to make use of all six syscall arguments. The preferred
means of synchronous communication is now via the set of ipc_call_sync_m_n()
macros, where m is the number of payload arguments passed to the kernel and n is
the number of return values. These macros will automatically decide between the
fast and the universal slow version of ipc_call_sync.
 
/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/klog/klog.c
/trunk/uspace/app/tester/ipc/send_sync.c
/trunk/uspace/lib/libc/generic/ipc.c
/trunk/uspace/lib/libc/generic/time.c
/trunk/uspace/lib/libc/include/ipc/ipc.h
/trunk/uspace/srv/fs/fat/fat.c
2614 6066 d 4 h jermar /trunk/kernel/generic/include/ipc/ Grow the IPC data structures from 3 to 5 payload arguments.
No IPC API changes so far.
 
/trunk/kernel/generic/include/ipc/ipc.h
2613 6066 d 22 h jermar /trunk/ Support for six syscall arguments for ia32.  
/trunk/uspace/lib/libc/arch/ia32/src/syscall.S
/trunk/uspace/lib/libc/arch/ia32/src/syscall.c
/trunk/kernel/arch/ia32/src/asm.S
/trunk/uspace/lib/libc/arch/ia32/Makefile.inc
/trunk/uspace/lib/libc/arch/ia32/src/fibril.S
2612 6066 d 23 h jermar /trunk/kernel/arch/ Cleanup.  
/trunk/kernel/arch/amd64/include/interrupt.h
/trunk/kernel/arch/ia32/include/interrupt.h
/trunk/kernel/arch/ia32/include/pm.h
/trunk/kernel/arch/ia32/src/pm.c
2611 6067 d 4 h jermar /trunk/ Support for six syscall arguments for arm32.  
/trunk/kernel/arch/arm32/src/exception.c
/trunk/uspace/lib/libc/arch/arm32/src/syscall.c
2610 6068 d 2 h jermar /trunk/ Support for six syscall arguments for sparc64.
There is a minor stability issue which needs to be fixed (kernel panics upon entering kconsole from the
console task).
 
/trunk/kernel/arch/sparc64/include/syscall.h
/trunk/kernel/arch/sparc64/src/trap/syscall.c
/trunk/kernel/arch/sparc64/Makefile.inc
/trunk/kernel/arch/sparc64/include/stack.h
/trunk/kernel/arch/sparc64/include/trap/syscall.h
/trunk/kernel/arch/sparc64/include/trap/trap_table.h
/trunk/kernel/arch/sparc64/src/trap/trap_table.S
/trunk/uspace/lib/libc/arch/sparc64/include/syscall.h
2608 6068 d 2 h jermar /trunk/ Support for six syscall arguments on ia64.

--iSupis line, and those below, will be ignored--

M kernel/arch/ia64/include/interrupt.h
M kernel/arch/ia64/src/ivt.S
M kernel/arch/ia64/src/interrupt.c
M uspace/lib/libc/arch/ia64/src/syscall.S
 
/trunk/kernel/arch/ia64/include/interrupt.h
/trunk/kernel/arch/ia64/src/interrupt.c
/trunk/kernel/arch/ia64/src/ivt.S
/trunk/uspace/lib/libc/arch/ia64/src/syscall.S
2607 6068 d 2 h jermar /trunk/ Support for six syscall arguments on mips32.  
/trunk/kernel/arch/mips32/include/stack.h
/trunk/kernel/arch/mips32/src/start.S
/trunk/uspace/lib/libc/arch/mips32/src/syscall.c
2606 6068 d 2 h jermar /trunk/ Support for 6 syscalls arguments on amd64.  
/trunk/kernel/arch/amd64/include/proc/thread.h
/trunk/kernel/arch/amd64/src/asm_utils.S
/trunk/kernel/arch/amd64/src/proc/scheduler.c
/trunk/kernel/arch/amd64/src/proc/thread.c
/trunk/kernel/arch/amd64/src/syscall.c
/trunk/uspace/lib/libc/arch/amd64/src/fibril.S
/trunk/uspace/lib/libc/arch/amd64/src/syscall.S
2605 6068 d 2 h jermar /trunk/ Start support for six syscall arguments.
This breaks all architectures.
 
/trunk/kernel/generic/include/syscall/syscall.h
/trunk/kernel/generic/src/syscall/syscall.c
/trunk/uspace/lib/libc/include/libc.h
/trunk/uspace/lib/libc/include/syscall.h
2604 6069 d 2 h jermar /trunk/kernel/arch/amd64/src/ Fix register names in exception dump and cstyle.  
/trunk/kernel/arch/amd64/src/interrupt.c
2603 6072 d 5 h jermar /trunk/kernel/ Fix case.  
/trunk/kernel/Makefile
2602 6072 d 5 h jermar /trunk/ Work around the way symtab.data section is constructed.
This fixes building of ia64.
 
/trunk/kernel/Makefile
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/kernel/arch/ia64/Makefile.inc
/trunk/uspace/lib/libc/arch/ia64/Makefile.inc
2601 6073 d 1 h jermar /trunk/kernel/generic/src/ipc/ Fix and improve two IPC related comments.  
/trunk/kernel/generic/src/ipc/ipc.c
/trunk/kernel/generic/src/ipc/sysipc.c
2599 6073 d 19 h decky /trunk/kernel/ replace prescott cpu type with currently more known category  
/trunk/kernel/arch/ia32/Makefile.inc
/trunk/kernel/arch/ia32xen/Makefile.inc
/trunk/kernel/kernel.config
2585 6084 d 20 h cejka /trunk/ Better fix of labels in configuration script.  
/trunk/kernel/kernel.config
/trunk/tools/config.py
2584 6084 d 20 h cejka /trunk/kernel/ Fixed labels for framebuffer options used by build script.  
/trunk/kernel/kernel.config
2582 6086 d 21 h jermar /trunk/ Change BFD_TARGET from elf32-little to elf32-littlearm.  
/trunk/kernel/arch/arm32/Makefile.inc
/trunk/uspace/lib/libc/arch/arm32/Makefile.inc
2579 6086 d 22 h jermar /trunk/kernel/arch/ia64/ Binutils 2.18 will refuse to link elf64-little with elf64-ia64-little.
Change BFD_NAME from elf64-little to elf64-ia64-little.
 
/trunk/kernel/arch/ia64/Makefile.inc
2575 6088 d 23 h jermar /trunk/kernel/arch/ia32/src/ Formatting fixes.  
/trunk/kernel/arch/ia32/src/userspace.c
2574 6088 d 23 h jermar /trunk/kernel/generic/src/lib/ Fix elf.c's formatting and add code that can be later enhanced and used to
remember task's TLS section alignment, address and size.
 
/trunk/kernel/generic/src/lib/elf.c
2573 6091 d 23 h jermar /trunk/kernel/generic/include/lib/ Add SHF_TLS ELF section header flag.
This will be needed for detecting alignment of TLS sections of userspace tasks
loaded at runtime.
 
/trunk/kernel/generic/include/lib/elf.h
2572 6110 d 13 h jermar /trunk/kernel/ Remove duplicit implementation of strlen() in kernel, rename is_digit(),
is_white() and co. to their standard names (e.g. isdigit(), isspace()) and
remove duplicit implementation of isdigit(). Fix cstyle in kernel printf()
implementation.
 
/trunk/kernel/genarch/src/kbd/key.c
/trunk/kernel/generic/include/macros.h
/trunk/kernel/generic/src/console/kconsole.c
/trunk/kernel/generic/src/printf/printf_core.c
2571 6111 d 3 h jermar /trunk/kernel/generic/src/printf/ Fix the string printing precision bug also in the kernel.  
/trunk/kernel/generic/src/printf/printf_core.c
2557 6116 d 6 h jermar /trunk/kernel/generic/src/ipc/ Enable forwarding of IPC_M_AS_AREA_SEND, IPC_M_AS_AREA_RECV, IPC_M_DATA_SEND
calls. In order to prevent the forwarder from cloberring the call data (i.e.
source and destination address, and size) by treating these three methods as
immutable on forward. This feature is experimental, but has huge benefits in
that it can significantly reduce the amount of data sharing (the middle man need
not modify its address space mappings) or the amount of data copying (the middle
man need not receive the data from the sender and then resend them to the next
recipient). As a result, it can reduce N such calls for a communication channel
with N tasks along the way to 1 such call.
 
/trunk/kernel/generic/src/ipc/sysipc.c