Rev |
Age |
Author |
Path |
Log message |
Diff |
2589 |
6132 d 4 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Allocate the open filess array dynamically and protect access to it via a
per-connection futex. Defer its allocation until the client makes a first
VFS_OPEN request.
Actually call vfs_mount() and vfs_open(), respectively, when the VFS_MOUNT and
VFS_OPEN requests, respectively, are received from the client. |
|
2588 |
6132 d 5 h |
jermar |
/trunk/uspace/ |
Add ipc_answer_fast_[01] macros so that ipc_answer_fast() users don't have to
write zero arguments all the time. |
|
2587 |
6132 d 5 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Introduce the notion of VFS_PAIR which corresponds to a file system instance,
and VFS_TRIPLET, which corresponds to a file system node. Separate vfs_triplet_t
and vfs_node_t as the former one is the stateless counterpart of the latter. |
|
2586 |
6135 d 21 h |
jermar |
/trunk/uspace/lib/libc/ |
Unify implementations of TLS variant I and variant II __alloc_tls() and
__free_tls_arch(). |
|
2585 |
6135 d 21 h |
cejka |
/trunk/ |
Better fix of labels in configuration script. |
|
2584 |
6135 d 22 h |
cejka |
/trunk/kernel/ |
Fixed labels for framebuffer options used by build script. |
|
2583 |
6137 d 22 h |
jermar |
/trunk/uspace/lib/libc/arch/mips32/ |
Change BFD_NAME from elf32-little to elf32-tradlittlemips. |
|
2582 |
6137 d 22 h |
jermar |
/trunk/ |
Change BFD_TARGET from elf32-little to elf32-littlearm. |
|
2581 |
6137 d 23 h |
jermar |
/trunk/uspace/lib/libc/ |
For architectures that make use of TLS variant II (i.e. amd64, ia32 and
sparc64), fix the way TLS and TCB is allocated. Now, TLS is allocated using
memalign() with the alignment specified in _tls_alignment. Size of TLS data
itself is rounded up to be a multiple of _tls_alignment. |
|
2580 |
6137 d 23 h |
jermar |
/trunk/uspace/lib/libc/arch/ |
In all architectures' uspace linker scripts, define the _tls_alignment symbol. |
|
2579 |
6137 d 23 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. |
|
2578 |
6138 d 1 h |
jermar |
/trunk/contrib/toolchain/ |
Upgrade toolchain scripts to use binutils 2.18 and gcc 4.2.2. |
|
2577 |
6139 d 23 h |
jermar |
/trunk/ |
Build system fixes.
Continue cleaning uspace even if cleanup of one component fails.
Remove main Makefile.config after boot, kernel and uspace are cleaned because
cleaning of these components might depend on variables set in the main
Makefile.config. |
|
2576 |
6140 d 0 h |
jermar |
/trunk/uspace/srv/vfs/ |
Specify the width of the printed text in an argument to printf(). |
|
2575 |
6140 d 0 h |
jermar |
/trunk/kernel/arch/ia32/src/ |
Formatting fixes. |
|
2574 |
6140 d 0 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. |
|
2573 |
6143 d 1 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. |
|
2572 |
6161 d 14 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. |
|
2571 |
6162 d 5 h |
jermar |
/trunk/kernel/generic/src/printf/ |
Fix the string printing precision bug also in the kernel. |
|
2570 |
6162 d 5 h |
jermar |
/trunk/uspace/lib/libc/generic/io/ |
Fix a bug in interpretation of precision when printing strings. Fix cstyle. |
|
2569 |
6162 d 7 h |
jermar |
/trunk/uspace/ |
Tiny refinement of if-else_if-else statement in vfs_register.c. |
|
2568 |
6163 d 13 h |
jermar |
/trunk/uspace/ |
Rename fibril_schedule_next_adv() to fibril_switch(). Rename
fibril_schedule_next() to fibril_yield(). Some fibril structures could be
uninitialized, set them to zero in fibril_setup(). For some fibrils, the stack
member can be NULL (e.g. every thread's first/main fibril); don't do free on
these stacks when cleaning up after a dead fibril. |
|
2567 |
6163 d 13 h |
jermar |
/trunk/uspace/srv/vfs/ |
Don't explicitly answer the IPC_M_DATA_SEND call in VFS_REGISTER.
It is done automatically in ipc_data_deliver(). |
|
2566 |
6163 d 13 h |
jermar |
/trunk/uspace/srv/console/ |
Fix cstyle in console.c. |
|
2565 |
6163 d 13 h |
jermar |
/trunk/uspace/lib/libc/malloc/ |
Make uspace malloc() verbose when it aborts due to inconsistencies. |
|
2564 |
6163 d 13 h |
jermar |
/trunk/uspace/lib/libc/ |
Support for time() function. |
|
2563 |
6166 d 11 h |
vana |
/trunk/ |
Support for new gcc 4.2.1 on IA64 |
|
2562 |
6166 d 11 h |
vana |
/trunk/boot/arch/ia64/loader/ |
IA64: Force gcc to build position dependend code (not to use gp register to count global data adresses). Because PIC code should adress only 2M of data. |
|
2561 |
6166 d 12 h |
vana |
/trunk/boot/arch/ia64/loader/ |
Fix section selection notation |
|
2560 |
6167 d 2 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Start VFS_OPEN. |
|
2559 |
6167 d 4 h |
vana |
/trunk/boot/arch/ia64/loader/ |
Fill loader stack not to be used by linker to store data |
|
2558 |
6167 d 4 h |
vana |
/trunk/boot/arch/ia64/loader/ |
Rename section bss in loader to .bss to be correct linked |
|
2557 |
6167 d 7 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. |
|
2556 |
6167 d 9 h |
jermar |
/trunk/kernel/generic/ |
Rename as_get_size() to as_area_get_size() and add a doxygen comment. |
|
2555 |
6167 d 21 h |
cejka |
/trunk/uspace/srv/devmap/ |
Added message forwarding to device mapper. |
|
2554 |
6167 d 21 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Add the missing bits of VFS-side VFS_MOUNT. |
|
2553 |
6167 d 23 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
Prevent race conditions when checking rootfs by taking a newly introduced
rootfs_futex. |
|
2552 |
6168 d 0 h |
jermar |
/trunk/uspace/srv/vfs/ |
VFS work.
This is a checkpoint commit.
It introduces initial, still incomplete, code for VFS-side VFS_MOUNT request. |
|
2551 |
6168 d 2 h |
cejka |
/trunk/ |
DevMap, VFS and FAT added to boot images for all architectures. |
|
2550 |
6168 d 3 h |
cejka |
/trunk/ |
Fixed naming convention in IPC. |
|