|
|
@22e6802
|
16 years |
martin |
fix kernel thread_sleep() not to overflow thread_usleep()
introduce …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@84b14e2
|
16 years |
jakub |
Merge simplified futexes (ticket #154) and fix for arm32 kernel atomic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8d04f709
|
16 years |
jakub |
Add dummy implementation of arm32 cas.
The arm32 uspace atomic …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e15e0e8
|
16 years |
jakub |
Make provisions for different implementations of atomic_t.
This breaks …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12bef5b
|
16 years |
jakub |
Build the ia32 uspace with -march=pentium so that gcc cas built-in can …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4774a32
|
16 years |
jakub |
Greatly simplify futexes.
Drop timeout support.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d359e227
|
16 years |
jakub |
Add cas().
Implemented using GCC built-in.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9ece1cb
|
16 years |
jakub |
Introduce SYS_THREAD_USLEEP and use it to implement usleep() in uspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b67c7d64
|
16 years |
jiri |
Add wstr_to_astr() for easy conversion from wide string to string.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0f06dbc
|
16 years |
jiri |
Rename wstr_nstr() to wstr_to_str() and align it better with the rest …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@da2bd08
|
16 years |
jiri |
Input history.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@19528516
|
16 years |
jirka |
Rewrite command-line input routine. Adds capability to seek, insert …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8c8f8d6
|
16 years |
jakub |
Repeat IPC_M_PHONE_HUNGUP until the caller of async_get_call_timeout() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c4702804
|
16 years |
jakub |
close_callid is not bool.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e739652
|
16 years |
jakub |
Fix the nit in the definition of the canonical path.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ffe94f7
|
16 years |
jakub |
Fix definition of canonical paths.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a217358
|
16 years |
martin |
fix minor glitches detected by Vcc checker (thx to Ondrej Sery)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6b73ad0
|
16 years |
jiri |
calloc() should actually zero out the block.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@15b8e495
|
16 years |
martin |
add calloc()
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@bb8dc88
|
16 years |
martin |
remove obsolete VFS methods
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
|
|
|
@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
|
|
|
@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
|
|
|
@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
|
|
|
@301ff30
|
16 years |
martin |
rename libc's fs_node_t to inode_t to avoid type conflict with VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2595dab
|
16 years |
martin |
I/O subsystem overhaul:
- add more POSIX-like file and stream …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca3ba3a
|
16 years |
martin |
sync header files with implementation
coding style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76d0d284
|
16 years |
martin |
sync header files with implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5779a74
|
16 years |
martin |
add error constant from VFS
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|