|
|
|
@60876fd3
|
6 years |
jiri.zarevucky |
Add virtio-net to .gitignore.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2fc9bfd
|
6 years |
jiri.zarevucky |
tools/ew.py: Expose serial port in terminal by default.
Enable NS16550 …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@831aa466
|
6 years |
jiri.zarevucky |
Fix cases of undefined behavior found by ubsan.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@70fae4e
|
6 years |
jiri |
Travis should not need to download Sycek every time.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e569bf
|
6 years |
jiri.zarevucky |
Fix accidentally introduced build issue.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8119363
|
6 years |
jiri.zarevucky |
Merge some preliminary async/fibril framework changes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e768aea
|
6 years |
jiri.zarevucky |
Simplify async manager.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ab6edb6
|
6 years |
jiri.zarevucky |
Simplify the interaction between async_futex and fibril_switch().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b59318e
|
6 years |
jiri.zarevucky |
Make futex able to time out.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f6372be9
|
6 years |
jiri.zarevucky |
Improve the debugging options for futexes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@38e3427
|
6 years |
jiri.zarevucky |
Switch other up/down to lock/unlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@95838f1
|
6 years |
jiri.zarevucky |
Switch async_futex to using futex_lock/unlock.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fbfe59d
|
6 years |
jakub |
Merge branch 'virtio-net'
This commit merges basic support for the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3107e2
|
6 years |
jakub |
Fix ccheck
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@417aaafb
|
6 years |
jakub |
Protect the virtqueue with a mutex
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3679f51a
|
6 years |
jiri.zarevucky |
Remove the option of RCU-upgradable futexes for now.
They complicate …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d73d992
|
6 years |
jiri.zarevucky |
Hide libc-internal details of the fibril implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a0dff8
|
6 years |
jiri.zarevucky |
Add const to time functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@826a0a97
|
6 years |
jiri.zarevucky |
Add task ID in the assert failure message.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2498b95
|
6 years |
jiri |
Move memchr to libc and add tests for other memxxx functions.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@bfe90b6
|
6 years |
jiri |
Remove forgotten debug print.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e6a610
|
6 years |
jiri |
Temporary file functions rework. Fix libposix access() not working on …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ea6840d
|
6 years |
jakub |
Use a macro to print the MAC address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8b3cb67
|
6 years |
jakub |
Add comments and rename functions for consitency
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6a0f1309
|
6 years |
jakub |
Use macros for working with MAC addresses
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4810acf
|
6 years |
jakub |
Use the actual size as buffer size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9319b7d
|
6 years |
jakub |
Adapt to QEMU layout
For some reason, QEMU uses the legacy layout of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3f1d4d5
|
6 years |
jakub |
Insist on the specified features
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5609d3c
|
6 years |
jakub |
Provide virtio_net_on_multicast_mode_change
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9afd2a8
|
6 years |
jakub |
The idx of the avail ring must always grow
The index cannot wrap …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb0ec570
|
6 years |
martin |
cstyle improvements (no change in functionality)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a8b0c5d
|
6 years |
jiri |
Fix makefile.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@296890f3
|
6 years |
jiri |
sprintf, vsprintf belong in libc (as deprecated).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@777832e
|
6 years |
jiri |
fgetpos, fsetpos, perror.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b8ef198b
|
6 years |
jakub |
Implement virtio-net interrupt handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7d7bc09
|
6 years |
jiri |
abs, labs, llabs.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8751cf3
|
6 years |
jiri.zarevucky |
Print stacktrace on KIO before attempting printf().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3bd1d7d4
|
6 years |
jiri.zarevucky |
async: Use a dedicated futex for client hash table.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5c76cc61
|
6 years |
jiri.zarevucky |
async: Lock interface hash table with a dedicated interface_futex, and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9f272d9
|
6 years |
jiri.zarevucky |
Statically allocate session_ns.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47be512
|
6 years |
jiri.zarevucky |
Introduce list_pop().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75c430e3
|
6 years |
jiri |
Bsearch, getenv, system need to go to libc. (although we might …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6c440362
|
6 years |
jiri |
Free exit handler structure after running exit handler.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@099c834
|
6 years |
jiri |
atexit, exit, _Exit, at_quick_exit, quick_exit, tests for strtol and …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@379db9ef
|
6 years |
jiri |
Add missing test source.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8338a81
|
6 years |
jiri |
div, ldiv, lldiv should go to libc's stdio.h Add MB_CUR_MAX. Adjust …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3d135e9
|
6 years |
jakub |
Implement virtio_net_send
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@55092672
|
6 years |
jiri |
Clean up libposix stdio.h and stdlib.h a bit.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1ae9c07
|
6 years |
jiri |
iso646.h is ISO C. (A)OFF64_MIN/MAX are neither POSIX nor ISO C.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e6bab27b
|
6 years |
jiri |
The headers malloc.h, stdarg.h, stddef.h and stdbool.h should just …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3b1cc8d
|
6 years |
noreply |
Add notification queue to the async framework. (#40)
Instead of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@587478b
|
6 years |
jiri.zarevucky |
Fix some undefined behaviors.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f7d77c6
|
6 years |
jiri.zarevucky |
Add rudimentary support for undefined behavior sanitizer.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@abf8bd8
|
6 years |
jiri.zarevucky |
tools/ew.py: Add -bigmem option for RAM-hungry configurations.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0ceeac3
|
6 years |
jiri.zarevucky |
tools/ew.py: understand -nographic
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@be2a20ac
|
6 years |
jiri |
Merge scanf family implementation.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@80f345c
|
6 years |
jiri |
Need to carefully pass va_list around by reference to be portable.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f4aa1c8
|
6 years |
jiri |
Add actual test for using range in scanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@39f84ce4
|
6 years |
jiri |
Add range support to scanf's set conversion.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a55d76b1
|
6 years |
jiri.zarevucky |
Implement a simple counting semaphore for fibrils.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5a6c28d1
|
6 years |
jiri |
Replace libposix scanf with libc scanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f47a905
|
6 years |
jiri |
scanf, vscanf, vsscanf.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@01cc7b4
|
6 years |
jiri |
Implement sscanf via virtualizing FILE and implementing string backend …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed18e14
|
6 years |
jiri |
vfscanf with tests.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@899342e
|
6 years |
jiri.zarevucky |
fibril_futex must be locked during context_swap() .
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fe96085
|
6 years |
jakub |
Register and enable virtio-net IRQ
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@848e880f
|
6 years |
jakub |
Let pio_enable_resource return physical address
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ec39720
|
6 years |
jakub |
tmpfs_truncate must not fail when new size is zero
When zero size is …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@931afbc
|
6 years |
jakub |
Don't republish call capability on forward failure
When forwarding of …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@75701004
|
6 years |
martin |
use a TAR as the archive format for populating TMPFS root file system
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@18ad56a8
|
6 years |
martin |
more elegant way of keeping the state of the archive extraction
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@24fda5e
|
6 years |
martin |
separate the TAR extraction to a library to make the code reusable
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@04051b8e
|
6 years |
martin |
remove stale makefiles
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c8afd5a
|
6 years |
jiri.zarevucky |
Have async_poke() check whether the poke is necessary.
This was …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@49a796f1
|
6 years |
jiri.zarevucky |
Split the async framework into several parts.
This segregates …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fda19b8
|
6 years |
jiri.zarevucky |
Deduplicate async_create_port().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@121ee4fd
|
7 years |
jakub |
Add least effort virtio_net_send implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0d3bfb9e
|
7 years |
jakub |
Add virtio_net broadcast mode change handler
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0a087ae
|
7 years |
jakub |
Add basic nic_iface_t ops for virtio-net
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fc0b2a8
|
7 years |
jiri.zarevucky |
Revert "Don't use custom ldscripts in uspace. (#38)"
This reverts …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ed88c8e
|
7 years |
jiri |
fputc, putchar vs. fputwc, putwchar.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@211b17a1
|
7 years |
jakub |
Make virtio_net_dev_add more complete
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a57fa32
|
7 years |
jakub |
Fix USB match IDs that need zero-padding
In format string, when using …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a05ec66
|
7 years |
noreply |
Don't use custom ldscripts in uspace. (#38)
Even with the *-linux-gnu …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@774aa332
|
7 years |
jiri |
list_foreach loops with single-statement body are indented incorrectly.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b085bbaa
|
7 years |
jakub |
Organize the TX and CT buffers in free lists
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cede6f8
|
7 years |
jakub |
Enable/disable the virtq when it's set/torn down
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@31cf8c3c
|
7 years |
jakub |
Do not zero-initialize the descriptor table twice
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9af56b6
|
7 years |
jakub |
Use little-endian accessors for virtio PIO
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@85be731
|
7 years |
jakub |
Add PIO register accessors for both endianities
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e3887ce
|
7 years |
jakub |
Fix address passed to pio_write_16
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5dddac1
|
7 years |
jakub |
Feed RX buffers to the virtio-net RX queue
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c1ba24a
|
7 years |
jakub |
Allow descriptors to be set and made available
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@29c3c72
|
7 years |
jiri |
Remove forgotten line in ccheck.sh.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9364ced
|
7 years |
jakub |
virtio-net: Setup DMA buffers
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5b5c286
|
7 years |
jakub |
Do not restrict virtqueues to DMAMEM_4GiB
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ee0c03a
|
7 years |
jakub |
Require at least the specified queue size
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7bf16b7e
|
7 years |
jakub |
tools/ew.py: Add support for virtio-net
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0180c67
|
7 years |
jakub |
Separate buffers from virtqueues
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@eda41a9e
|
7 years |
jakub |
Calculate the notification address for each virtq
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|