|
|
|
@6db6fd1
|
15 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
|
15 years |
martin |
define just the basic memory allocator interface
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@497ae7b
|
15 years |
martin |
remove dlmalloc
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@82346c50
|
15 years |
martin |
memory allocator test
(modified from original code by Tomas Bures and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f954906
|
15 years |
martin |
avoid compiler warnings and one small bug
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c063d96e
|
15 years |
martin |
avoid compiler warning
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7ece1fbe
|
15 years |
martin |
avoid possible segfault
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@057760d3
|
15 years |
martin |
avoid unaligned memory access
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f49cf64
|
15 years |
martin |
simplify init, create /dev/null0 on demand
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7fcb74c
|
15 years |
martin |
add support for creating null devices on demand
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfd247f
|
15 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
|
15 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
|
15 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
|
15 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
|
15 years |
jakub |
Separate the VFS input and output protocols.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6408be3
|
15 years |
jirik.svoboda |
Fix chaos in block library.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00fe6bb
|
15 years |
jirik.svoboda |
Automatically try to mount FAT from disk0 on /data upon boot. Save …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1fbe064b
|
15 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
|
|
|
@af65b72
|
15 years |
jakub |
Do not use the pending mechanism in console.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1cab2f41
|
15 years |
jakub |
Do not use the pending mechanism in devmap.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@103bb68
|
15 years |
jakub |
A little bit of cstyle.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cc531be
|
15 years |
jakub |
Mention arm32 in the document describing virtual address translation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9593bc8
|
15 years |
jakub |
Use condvar broadcast instead of signal when registering a new file system.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7b47fa2
|
15 years |
jakub |
Do not use the "pending" fibril mechanism in VFS
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d4b9d28
|
15 years |
jirik.svoboda |
Tetris high-score table now persists across multiple Tetris executions …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@52e4f52
|
15 years |
jirik.svoboda |
Use rwlock instead of futex for ramdisk.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed990cf
|
15 years |
jakub |
Remove an obsolete comment.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e2dccb0
|
15 years |
jakub |
Endpoint file systems should terminate the connection fibril when VFS …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2dfd9fa
|
15 years |
martin |
avoid races during access to the shared hash table
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@12956e57
|
15 years |
jirik.svoboda |
Use fibril synchronization in bd drivers. Use per-disk locks.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ac47b7c2
|
15 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
|
|
|
@553492be
|
15 years |
jakub |
Finish converting VFS to fibril synchronization.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ca093b3
|
15 years |
jakub |
Strange left-over.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e1b57d
|
15 years |
jakub |
Use fibril synchronization in libblock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ebe721
|
15 years |
jakub |
Use fibril synchronization in FAT.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@34ca870
|
15 years |
jakub |
Handle each VFS request using a dedicated connection.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@61d2315
|
15 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
|
15 years |
jirik.svoboda |
Fix assorted warnings and tiny glitches.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0471786
|
15 years |
jirik.svoboda |
Fix signedness issues and warnings in fb.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@08c9f7d
|
15 years |
jirik.svoboda |
Suppress warnings in loader.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a624cbfd
|
15 years |
jirik.svoboda |
Improve ATA cmd regs block definition to suppress warnings.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbbbb8a
|
15 years |
jirik.svoboda |
Get rid of warnings (size_t is enough for block size).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3fa92aa
|
15 years |
jirik.svoboda |
Replace one hack with another.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@103e7d7
|
15 years |
jakub |
Flush stdout before spawning shell.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@953769f
|
15 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
|
15 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
|
|
|
@c07af37
|
15 years |
jakub |
Handle pending lookups using only one fibril.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af7383f
|
15 years |
jakub |
Handle pending mounts using only one fibril.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ed2e0e
|
15 years |
jirik.svoboda |
Revert clandestine removal of delayed cursor position update by c4456.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@87d3ecf
|
15 years |
jirik.svoboda |
Display type of root filesystem and root device upon boot.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c51a7cd
|
15 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
|
|
|
@1cbed6b
|
15 years |
jirik.svoboda |
Add forgotten files.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2a18193c
|
15 years |
jirik.svoboda |
File-backed block device driver (file_bd).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d9f4c76
|
15 years |
jirik.svoboda |
Write support in ata_bd. Not used, not tested.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5481d1bb
|
15 years |
jirik.svoboda |
Use named constants.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f5caea
|
15 years |
jirik.svoboda |
Move type declarations to a header file.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1806e5d
|
15 years |
jirik.svoboda |
Properly support two disks per ATA controller. Fake (Qemu-only) check …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@26360f7
|
15 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
|
15 years |
jakub |
Condition variables for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@92d34f0b
|
15 years |
jakub |
Implement readers-writer locks for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ba2a055
|
15 years |
jirik.svoboda |
Fix coordinate issues in EGA fb.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc02cc41
|
15 years |
martin |
get back fine-grained locking (which was removed in commit 4458), but …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95ba2b8
|
15 years |
martin |
remove obsolete terminology
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3562ec82
|
15 years |
martin |
remove obsolete comment
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d3b9474
|
15 years |
martin |
remove serialization (it is not needed here)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8e13bfa
|
15 years |
jakub |
Synchronize access to pending_req.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0e31a2b
|
15 years |
martin |
remove yet another serialization which is not needed anymore
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@230260ac
|
15 years |
jakub |
Make VFS use the new synchronization for fibrils. Now there should be …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@041186f
|
15 years |
jakub |
Include fibril synchronization primitives in libc build.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3afd24
|
15 years |
jakub |
Add simple synchronization primitives to be used with fibrils. …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ebe70f1
|
15 years |
martin |
slightly cleanup the horrible mess of tetris
introduce colors
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@080ad7f
|
15 years |
martin |
simple implementation of fdopen() and rewind()
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bd8bfcbd
|
15 years |
jakub |
Nit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8e57e8c
|
15 years |
martin |
cstyle
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bac82eeb
|
15 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
|
15 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
|
15 years |
martin |
rename libadt → adt
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a68f737
|
15 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
|
|
|
@f8ef660
|
15 years |
jirik.svoboda |
Primitive ATA disk driver that you can use in Qemu (read only).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abc4982
|
15 years |
martin |
group fhc and obio under a common directory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4a68194
|
15 years |
martin |
no not disturb console initialization by connections
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bf907a
|
15 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
|
|
|
@8bfe48e
|
15 years |
martin |
as_get_mappable_page() has an argument in bytes, not in pages
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1035437
|
15 years |
martin |
keep the kernel console intact as long as it is possible (to be able …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8b9f88
|
15 years |
martin |
add forgotten answer in case of an error
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@99272a3
|
15 years |
jakub |
inode_t → fdi_node_t
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@301ff30
|
15 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
|
|
|
@98000fb
|
15 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
|
|
|
@69e68e3
|
15 years |
martin |
update for latest I/O changes
(the protocols are not yet described …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0c25c10
|
15 years |
martin |
update for latest I/O changes
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cbff4c2
|
15 years |
martin |
update for latest I/O changes
(some tests are not 100% working yet, …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@73878c1
|
15 years |
martin |
bdsh: sync with I/O changes, block until spawned task exits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@36b8100a
|
15 years |
martin |
init rewrite: remove banner, start getvc to acquire first seven …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@595edf5
|
15 years |
martin |
add libfs_open_node() helper function
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d00ae4c
|
15 years |
martin |
add missing include
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2595dab
|
15 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
|
15 years |
martin |
sync header files with implementation
coding style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@76d0d284
|
15 years |
martin |
sync header files with implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5779a74
|
15 years |
martin |
add error constant from VFS
cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b78d0bd
|
15 years |
martin |
explicit typecast
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|