|
|
@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
|
|
|
@b78d0bd
|
16 years |
martin |
explicit typecast
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@433131d
|
16 years |
martin |
setup stdin, stdout and stderr according to preset file nodes
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@937aeee
|
16 years |
martin |
add support for passing preset files
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9db9b10
|
16 years |
martin |
async framework: add generic support for processing pending operations …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e77994dd
|
16 years |
martin |
add serialization (just to be sure)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b267ee6
|
16 years |
martin |
avoid compiler warning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4a3ee5
|
16 years |
martin |
replace count_t with size_t
coding style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e1ab30f8
|
16 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee369f3
|
16 years |
martin |
pass current task stdin, stdout and stderr as preset files to the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3ddd90c
|
16 years |
martin |
avoid compiler warning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2ac85ba
|
16 years |
martin |
remove redundant index_t and count_t types (which were always quite …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@67e4c35
|
16 years |
martin |
fix include
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80e3c69
|
16 years |
martin |
reorder compiler options to be consistent with kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@831667a9
|
16 years |
martin |
port macros from kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cb41a5e
|
16 years |
martin |
improve devmap interface
remove spared device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2246de6
|
16 years |
martin |
add list_count()
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2c0e5d2
|
16 years |
jakub |
Add IPC_M_CONNECTION_CLONE and IPC_M_CONNECT_ME.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b9d80c5
|
16 years |
jakub |
Fix ipc_forward_slow().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@60866a3
|
16 years |
jirik.svoboda |
pio_enable() was not allocating address space properly (unless sz ⇐ …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1090b8c
|
16 years |
jirik.svoboda |
C binding for devmap. Gets rid of duplicate code.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c5747fe
|
16 years |
jirik.svoboda |
Rename ramdisk protocol → block device protocol.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc99bcd
|
16 years |
jakub |
msg→wdata.inlist needs to be allocated before the reply_received() …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@54a6ff6
|
16 years |
jakub |
Fix doxygen comments.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0b6d70d
|
16 years |
jirik.svoboda |
klog_puts() is useful for debugging.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ebfabf6
|
16 years |
jirik.svoboda |
Use better method names.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@10270a8
|
16 years |
jirik.svoboda |
Better switch to kcon on serial console — relinquish/reclaim screen …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c07544d3
|
16 years |
martin |
create a new fibril for each notification received, which allows to do …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@566f4cfb
|
16 years |
martin |
use buffering for klog output (this can be used to avoid the ugly …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2d2c7ba
|
16 years |
martin |
fix of-by-one-character bug in str_chr() and str_rchr()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|