|
|
@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
|
|
|
@594303b
|
16 years |
jakub |
Support mount options.
Let tmpfs decide whether to start empty or …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c08c355
|
16 years |
jakub |
Make IPC_M_PING part of the VFS_MOUNT protocol again.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e40ec257
|
16 years |
martin |
don't forget to flush the console after the application finishes
(yes, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6700ee2
|
16 years |
jirik.svoboda |
Forbid destination string buffers of size zero altogether as they most …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4482bc7
|
16 years |
jirik.svoboda |
strcat() → str_append().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@732bb0c
|
16 years |
jirik.svoboda |
Nuke strncmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a1d89ad
|
16 years |
jakub |
Prevent optimizing ia64's PIO away.
This solves the frequent hangs of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6eb2e96
|
16 years |
jirik.svoboda |
str_cpy() and str_ncpy() in userspace. Nuke strcpy() and strncpy().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@095003a8
|
16 years |
jirik.svoboda |
strdup() → str_dup()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7afb4a5
|
16 years |
jirik.svoboda |
Nuke strchr() and strrchr().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92fd52d7
|
16 years |
jirik.svoboda |
Nuke strcpy() and strcmp().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a2c58f6
|
16 years |
jakub |
thread_exit() needs to be noreturn as well
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ccf814f
|
16 years |
jakub |
_exit() is a noreturn function.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8be693b
|
16 years |
jirik.svoboda |
More replacements.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9eb3623
|
16 years |
jirik.svoboda |
Replace some uses of old string functions in C library.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3636964
|
16 years |
martin |
make klog more generic
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b7f418
|
16 years |
martin |
sync with kernel
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@482c86f
|
16 years |
jirik.svoboda |
NS was forgetting to hangup phones. One phone was leaked for every …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@56fa418
|
16 years |
jirik.svoboda |
Make Czech layout work partially in bdsh.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9db4079
|
16 years |
jirik.svoboda |
UCS in keyboard driver.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f2b8cdc
|
16 years |
jirik.svoboda |
Copy printf with Unicode support to userspace.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@171f9a1
|
16 years |
jirik.svoboda |
Character encoding/decoding un uspace. Partially fix klog application.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ce3cb2
|
16 years |
jirik.svoboda |
Define wchar_t in userspace. Use it in fb and console.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@05641a9e
|
16 years |
jakub |
Revive kernel notifications.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|