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
2618 6087 d 17 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 6088 d 9 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 6088 d 14 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 6089 d 11 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 6090 d 6 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 6090 d 6 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 6090 d 12 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 6091 d 10 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 6091 d 10 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 6091 d 10 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 6091 d 10 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 6091 d 10 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 6092 d 10 h jermar /trunk/kernel/arch/amd64/src/ Fix register names in exception dump and cstyle.  
/trunk/kernel/arch/amd64/src/interrupt.c
2603 6095 d 13 h jermar /trunk/kernel/ Fix case.  
/trunk/kernel/Makefile
2602 6095 d 13 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 6096 d 9 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 6097 d 3 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 6108 d 4 h cejka /trunk/ Better fix of labels in configuration script.  
/trunk/kernel/kernel.config
/trunk/tools/config.py
2584 6108 d 4 h cejka /trunk/kernel/ Fixed labels for framebuffer options used by build script.  
/trunk/kernel/kernel.config
2582 6110 d 5 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 6110 d 5 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 6112 d 6 h jermar /trunk/kernel/arch/ia32/src/ Formatting fixes.  
/trunk/kernel/arch/ia32/src/userspace.c
2574 6112 d 6 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 6115 d 7 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 6133 d 21 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 6134 d 11 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 6139 d 14 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
2556 6139 d 15 h jermar /trunk/kernel/generic/ Rename as_get_size() to as_area_get_size() and add a doxygen comment.  
/trunk/kernel/generic/include/mm/as.h
/trunk/kernel/generic/src/ipc/sysipc.c
/trunk/kernel/generic/src/mm/as.c
2550 6140 d 9 h cejka /trunk/ Fixed naming convention in IPC.  
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/uspace/lib/libc/include/ipc/fb.h
/trunk/uspace/srv/devmap/devmap.c
/trunk/uspace/srv/devmap/devmap.h
/trunk/uspace/srv/vfs/vfs.h
2538 6144 d 15 h vana /trunk/kernel/arch/ia64/include/drivers/ Macro naming correction  
/trunk/kernel/arch/ia64/include/drivers/i8042.h
2537 6144 d 16 h vana /trunk/kernel/arch/ia64/include/drivers/ IA64 keyboard lost headerfile  
/trunk/kernel/arch/ia64/include/drivers/i8042.h
2527 6152 d 15 h jermar /trunk/ VFS work.

Added mandatory VFS_LOOKUP

Handling of VFS_REGISTER request should be now more or less complete.
Added code that inserts the new fs_info structure into the list of registered
filesystems and creates a callback connection to the client FS.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
2523 6153 d 17 h jermar /trunk/ VFS work.

Now, each VFS connection fibril will accept requests in a loop. The idea is that
each connection will be potentially reused for multiple requests before it is
closed by the server.

More VFS_REGISTER bits. Make use of the IPC_M_DATA_SEND wrappers introduced in
the previous commit.

Add enum members for more VFS operations.
 
/trunk/kernel/generic/include/ipc/ipc.h
/trunk/uspace/srv/vfs/vfs.c
/trunk/uspace/srv/vfs/vfs.h
2519 6155 d 13 h vana /trunk/ Pack ski version of HelenOS to image.boot loader  
/trunk/boot/arch/ia64/Makefile.inc
/trunk/boot/arch/ia64/loader/Makefile
/trunk/boot/arch/ia64/loader/asm.S
/trunk/boot/arch/ia64/loader/boot.S
/trunk/kernel/arch/ia64/Makefile.inc
/trunk/kernel/arch/ia64/src/ia64.c
/trunk/kernel/arch/ia64/src/start.S
2517 6158 d 13 h vana /trunk/kernel/arch/ia64/include/ Missing header file  
/trunk/kernel/arch/ia64/include/bootinfo.h
2516 6159 d 5 h vana /trunk/kernel/ IA64 rest of neaded changes to work with simics keyboard  
/trunk/kernel/arch/ia64/_link.ld.in
/trunk/kernel/arch/ia64/include/interrupt.h
/trunk/kernel/genarch/src/kbd/i8042.c
/trunk/kernel/kernel.config
2515 6159 d 5 h vana /trunk/kernel/arch/ia64/include/ IA64 legacy I/O  
/trunk/kernel/arch/ia64/include/asm.h
2514 6159 d 5 h vana /trunk/kernel/arch/ia64/ IA64 Makefile changes for simics  
/trunk/kernel/arch/ia64/Makefile.inc
2513 6159 d 5 h vana /trunk/kernel/arch/ia64/src/ IA64 simics keyboard support  
/trunk/kernel/arch/ia64/src/ia64.c
2512 6159 d 5 h vana /trunk/kernel/arch/ia64/src/ IA64 loader parameter  
/trunk/kernel/arch/ia64/src/start.S