|
|
|
@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
|
|
|
@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
|
|
|
@b8ef198b
|
6 years |
jakub |
Implement virtio-net interrupt handler
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
|
|
|
@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
|
|
|
@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
|
|
|
@211b17a1
|
7 years |
jakub |
Make virtio_net_dev_add more complete
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
|
|
|
@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
|
|
|
@2d4faf7
|
7 years |
jakub |
Split generic and PCI specific virtio code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@341df5f
|
7 years |
jakub |
Factor our generic virtio device initialization
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@cbcb34c
|
7 years |
jakub |
Configure the virtqueues
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c53d93
|
7 years |
jakub |
Add Virtqueue definitions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@659bd24
|
7 years |
jakub |
Do not zero device status bits
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5f03107
|
7 years |
jakub |
Make sure the cfg structure is inside the resource
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@21ff054
|
7 years |
jakub |
Make sure the PCI capability is big enough
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4e2d387
|
7 years |
jakub |
Verify the device has the necessary configuration
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1d0620b
|
7 years |
jakub |
Cleanup the device if initialization fails
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1c40351
|
7 years |
jakub |
Start initializing the virtio-net device
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f175d22
|
7 years |
jakub |
Add virtio-net specific definitions
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a38b705
|
7 years |
jakub |
Add device status constants
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@c72cd20
|
7 years |
jakub |
Do not use double underscore for header guard
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6f73b92
|
7 years |
jakub |
Use _initialize instead of _init
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d6c0016
|
7 years |
jakub |
Factor our resource management, add cleanup
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e9ced0
|
7 years |
jakub |
Return also the size of the enabled resource
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a86174ec
|
7 years |
jakub |
Make the queue notify base address 16-bit
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ccc424
|
7 years |
jakub |
Process VIRTIO PCI configuration structures
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@00192cde
|
7 years |
jakub |
Factor out virtio code to libvirtio
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@69927fa
|
7 years |
jakub |
Start parsing the Virtio PCI Capabilities
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e07257e
|
7 years |
jakub |
Add primitives for walking the PCI capability list
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6413967
|
7 years |
jakub |
Add more scaffolding
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@033ebc25
|
7 years |
jakub |
Add virtio-net empty implementation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@81c6365
|
7 years |
jiri |
Fix autogenerated source files not passing ccheck.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@86b70c6
|
7 years |
jiri |
Fix ccheck initial checkout.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@a4eb3ba2
|
7 years |
jiri |
Fail if ccheck issues are found. Make sure we always use the right …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@904b1bc
|
7 years |
jiri |
Fix remaining ccheck issues.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4f8772d4
|
7 years |
noreply |
Merge pull request #36 from jermar/ar9271
ar9271: Set cable state …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6ff23ff
|
7 years |
jiri |
More comment fixing (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7c3fb9b
|
7 years |
jiri |
Fix block comment formatting (ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fac0ac7
|
7 years |
jiri.zarevucky |
Fix the return value of memcpy_to/from_uspace().
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8800b13
|
7 years |
jakub |
ar9271: Set cable state according to connectedness
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@47e00b83
|
7 years |
jiri |
Fix some block comments (found by ccheck).
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@3a26925
|
7 years |
jakub |
ne2k: Implement additional nic_iface_t ops
This commit implements the …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f134413
|
7 years |
jakub |
ew.py: Start processing next arg after -net pair
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ad896eb
|
7 years |
jakub |
rtl8139: Fix unmapping of DMA memory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@11b285d
|
7 years |
jiri.zarevucky |
Use standard signature for malloc() in kernel.
The remaining …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@13db2044
|
7 years |
jakub |
Fix unmapping of virtual address of DMA memory
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f9597866
|
7 years |
jakub |
Avoid releasing DMA memory twice
When hda_corb_init or hda_rirb_init …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@df96271
|
7 years |
jakub |
Test the value returned from dmamem_map_anonymous
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2021428
|
7 years |
jiri.zarevucky |
Improve tools/srepl.
- option -d for removing the line entirely.
…
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a1be76
|
7 years |
jakub |
Make sure all IDT fields are initialized
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@d2c5159
|
7 years |
jakub |
Test the value returned from dmamem_map_anonymous
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@7473807
|
7 years |
jakub |
Use atomic malloc allocations
We can safely use atomic allocations in …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae89656
|
7 years |
jakub |
Provide an empty #DB handler
Userspace can trigger a #DB exception …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@8a8771c
|
7 years |
jiri |
Forgot to commit fix to exfat_fsinfo.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@af7fe18
|
7 years |
vojtech.horky |
Travis: debugging IRC notifications
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@963c932
|
7 years |
vojtech.horky |
Travis: send IRC notifications
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@fb7806a7
|
7 years |
vojtech.horky |
YAML style
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e4fe58f
|
7 years |
vojtech.horky |
Travis: do not build all harbours
It seems that building all harbours …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@1420cae9
|
7 years |
vojtech.horky |
Fix broken compilation
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@e8975278
|
7 years |
jiri |
A few more cstyle fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@ae7d03c
|
7 years |
jiri |
Selected ccheck-proposed comment fixes.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@b277bef
|
7 years |
jakub |
Mask TF on SYSCALL
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@2f72560a
|
7 years |
noreply |
Keeping comments in sync with the code
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@f3fdecc
|
7 years |
jakub |
Revert "Don't use custom ldscripts in uspace."
This reverts commit …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@349e04ac
|
7 years |
jakub |
Make sure _start is always aligned to 16
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66262a1b
|
7 years |
jiri.zarevucky |
Don't use custom ldscripts in uspace.
Even with the *-linux-gnu …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@888a2c6
|
7 years |
jiri.zarevucky |
Ignore GNU program headers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@6e33c2f
|
7 years |
jiri.zarevucky |
Clean up some debris left behind by autogen headers.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@742fc98e
|
7 years |
noreply |
Make some effort to allocate the memory area for shared objects. (#33)
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@009c485
|
7 years |
jiri.zarevucky |
Always use CC for linking.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@5261062
|
7 years |
jiri.zarevucky |
Default to nproc processes when running make check .
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@9e5cc73
|
7 years |
jiri.zarevucky |
Fix inadvertent discrepancy between toolchain.sh and autotool.py
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@0cb53ea5
|
7 years |
jiri.zarevucky |
Work around Travis limits
by replacing each output line with a single dot.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@232ec3a1
|
7 years |
noreply |
Revive support for -helenos target specification. (#31)
* Revive …
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@66855b2
|
7 years |
jiri.zarevucky |
Fix a linker script issue I introduced.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|
@4c5f04f
|
7 years |
jiri.zarevucky |
Ensure valid TLS info even if there is no TLS header.
lfn
serial
ticket/834-toolchain-update
topic/msim-upgrade
topic/simplify-dev-export
|
|
|