|
|
@2e983c7
|
16 years |
martin |
set correct IPC return values in libfs_open_node()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2b88074b
|
16 years |
martin |
vfs: file descriptors housekeeping changes
- add support for …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3cc110f
|
16 years |
jakub |
Autodetect SYSENTER support in uspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e000b8d
|
16 years |
jakub |
Rename syscall_{int,sysenter} to syscall_{slow,fast}. Syscalls …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc1f8d4
|
16 years |
martin |
proper support for parallel building (this time really tested)
all …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7591b27d
|
16 years |
jiri |
Working directory must be set only after initializing stdio, otherwise …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@622cdbe
|
16 years |
jakub |
Inherit the current working directory from the spawner to the spawnee task.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81342f7
|
16 years |
jakub |
getcwd() should return NULL if the current working directory is not set.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e035612
|
16 years |
martin |
make parallel build (with -j n) possible
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba8f8cb
|
16 years |
jakub |
The original ipc_data_*() and ipc_share_*() should use plain HelenOS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0da4e41
|
16 years |
jakub |
ipc_data_*() and ipc_share_*(), respectively, should be renamed to …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bbb01b98
|
16 years |
jakub |
Just pro forma, mark the fibril as active when unlocking a mutex.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b69bec5
|
16 years |
jakub |
Make fibril RW-locks use the awaiter_t type for sleeping.
Timeouts are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@854ad23
|
16 years |
jakub |
Make fibril mutexes use the awaiter_t type for sleeping.
Timeouts are …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cadfa8e
|
16 years |
jakub |
Experimental support for timeoutable fibril condition variables.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b6ee5b1
|
16 years |
jakub |
Rename insert_timeout() to async_insert_timeout() and make it a …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f53cc81
|
16 years |
jakub |
Separate timeout-specific wait data from generic wait data in awaiter_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f5edcf6
|
16 years |
jakub |
Prepare awaiter_t for use outside of async.c.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0772aff
|
16 years |
jakub |
Improve confusing comment.
handle_call() is a name of an async …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ab8697
|
16 years |
martin |
use builtin_va_* for va_* functions and va_list type
(this is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f563126
|
16 years |
martin |
make uspace pass compilation with clang
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2e37308
|
16 years |
jakub |
Merge libfs error handling improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0daba212
|
16 years |
jakub |
Most libfs operations should be able to return an error code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d27ed12
|
16 years |
anachron |
Added software emulation of 64bit multiplication (muldi3).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69dc065
|
16 years |
martin |
initial Clang support
this is more like a proof-of-concept (tested …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8be2833
|
16 years |
jiri |
Hide implementation details.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9b11daef
|
16 years |
jiri |
Fix argument order.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e86a849a
|
16 years |
martin |
use fetchadd8.rel directly, not via atomic_add()
(3rd operand of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd3e6a2
|
16 years |
jakub |
Merge libblock improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7a56b1ed
|
16 years |
jakub |
Out of memory condition in block_get() can be handled by returning ENOMEM.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f690cd
|
16 years |
jakub |
Instead of returning toxic blocks to the caller, block_get() should …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00b1d20e
|
16 years |
jiri |
Add PC MBR partition driver (mbr_part). Only supports primary …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a830611
|
16 years |
jiri |
Proper abbreviation for communication is 'comm.', not 'com.'
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ee00b7
|
16 years |
jiri |
Revamp block device interface: (1) block size is fixed, determined by …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b7b3fda
|
16 years |
jakub |
Reset the return code at the beginning of each block_get() retry.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff62c6d
|
16 years |
jakub |
Merge libblock improvements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@402a18f
|
16 years |
jakub |
Let block_get() and block_put() deal with I/O errors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cd688d9
|
16 years |
jakub |
Add the 'toxic' member to block_t.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c91f2d1b
|
16 years |
jakub |
Enable the block_get() and block_put() APIs to return error.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@02ee6bf5
|
16 years |
jakub |
As a provision for handling I/O errors, block_get() should write back …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ff211d2
|
16 years |
martin |
progress to GCC 4.4.1
use a single script to build cross-compilers …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ddfc39a3
|
16 years |
jakub |
block_put() should not hold the cache lock when syncing the block.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5ac8918
|
16 years |
jakub |
Fix typo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8619f25
|
16 years |
jakub |
Fibril synchronization needs to have a means to interrupt
idle threads …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@057d21a
|
16 years |
jakub |
Add SYS_IPC_POKE syscall.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3734106
|
16 years |
jakub |
Make libc more resilient against getting out of sync the VFS protocol.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b39fd4c
|
16 years |
jiri |
Add missing include file ipc/kbd.h.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1724745f
|
16 years |
jakub |
Fix typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@dd2cfa7
|
16 years |
jirik.svoboda |
Even more warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a405563
|
16 years |
jirik.svoboda |
Fix some warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba0aa6f
|
16 years |
martin |
the size argument to split_mark() should include the header and footer size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@50cfa6c
|
16 years |
jirik.svoboda |
Method for getting console color capabilities. Use to fix invisible …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d88587
|
16 years |
jakub |
realloc() should really check whether the next block is indeed free.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f450280
|
16 years |
jirik.svoboda |
Fix alignment errors in realloc().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4b2c458c
|
16 years |
jakub |
sparc64's SP_DELTA needs more space.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec8b0dac
|
16 years |
jakub |
Things are much easier when the compiler knows that context_save() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c467ee
|
16 years |
jakub |
In fibril_switch(), make sure to reload srcf with the current fibril …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@adb49f58
|
16 years |
jirik.svoboda |
Allow to determine whether a task returned value before terminatign.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5d96851b
|
16 years |
jirik.svoboda |
Pass task ID to NS from loader. This prevents ID spoofing by user apps.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7114d83
|
16 years |
jirik.svoboda |
Allow task to return value (will be improved).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d68e4d5
|
16 years |
jakub |
Make the libblock cache behave more like a cache and fix some bugs …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bb8dc88
|
16 years |
martin |
remove obsolete VFS methods
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0143f72
|
16 years |
jakub |
Statically allocated stat structure will do.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@271283b
|
16 years |
jakub |
Fix typos.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d851f597
|
16 years |
martin |
small allocator optimization
add some comments
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@db24058
|
16 years |
martin |
small fixes and coding style changes related to the new memory allocator
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6db6fd1
|
16 years |
martin |
implement simple first-fit memory allocator
(modified from original …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae75080a
|
16 years |
martin |
define just the basic memory allocator interface
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@497ae7b
|
16 years |
martin |
remove dlmalloc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fcb74c
|
16 years |
martin |
add support for creating null devices on demand
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfd247f
|
16 years |
martin |
set buffering according to what file descriptor we are opening
(this …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@415c7e0d
|
16 years |
jakub |
Implement stat() and VFS_IN_STAT.
Modify bdsh() to use stat() during …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75160a6
|
16 years |
jakub |
Add libfs_stat() and let FAT and TMPFS use it.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@852b801
|
16 years |
jakub |
Introduce VFS_IN_FSTAT and VFS_OUT_STAT.
Provide libc fstat() and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4198f9c3
|
16 years |
jakub |
Separate the VFS input and output protocols.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6408be3
|
16 years |
jirik.svoboda |
Fix chaos in block library.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbe064b
|
16 years |
jirik.svoboda |
Allow libblock to operate in write-through mode. With 'wtcache' mount …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac47b7c2
|
16 years |
martin |
define endianess externally to be able to exactly specify whether we …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e1b57d
|
16 years |
jakub |
Use fibril synchronization in libblock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61d2315
|
16 years |
jakub |
Disk I/O should be serialized until libblock switches to fibril …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@62140db
|
16 years |
jirik.svoboda |
Fix assorted warnings and tiny glitches.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@953769f
|
16 years |
jakub |
Handle pending input using only one fibril.
Relax serialization in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ef8bcc6
|
16 years |
jirik.svoboda |
Stdio stream buffering (only for writing a.t.m.) Issue: Do we need two …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c51a7cd
|
16 years |
jakub |
On condvar signal/broadcast, dequeue the waiting fibril from the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26360f7
|
16 years |
jirik.svoboda |
Use 'fibril_local' modifier for fibril-local variables instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9ae22ba
|
16 years |
jakub |
Condition variables for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92d34f0b
|
16 years |
jakub |
Implement readers-writer locks for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95ba2b8
|
16 years |
martin |
remove obsolete terminology
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3562ec82
|
16 years |
martin |
remove obsolete comment
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@041186f
|
16 years |
jakub |
Include fibril synchronization primitives in libc build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3afd24
|
16 years |
jakub |
Add simple synchronization primitives to be used with fibrils. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@080ad7f
|
16 years |
martin |
simple implementation of fdopen() and rewind()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd8bfcbd
|
16 years |
jakub |
Nit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8e57e8c
|
16 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bac82eeb
|
16 years |
jirik.svoboda |
getchar() and fgetc() are traditionally supposed to flush stdout and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc27c8c5
|
16 years |
jakub |
A little bit of cleanup and a remedy for great confusion introduced in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9c8c81
|
16 years |
martin |
rename libadt → adt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a68f737
|
16 years |
martin |
keep a list of open files to support proper cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bf907a
|
16 years |
martin |
be more pedantic about undefined function prototypes (to avoid memory …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99272a3
|
16 years |
jakub |
inode_t → fdi_node_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|