An open API service for software projects hosted on Open Collective.

github.com/QubesOS/qubes-vmm-xen-windows-pvdrivers

Qubes component: vmm-xen-windows-pvdrivers
https://github.com/QubesOS/qubes-vmm-xen-windows-pvdrivers

Merge with head

a935ecc899f6442cc96b26a89ce3e271512755a8 authored over 17 years ago
Updates to xenhide to properly hide intel ide and realtek network device, without resorting to tricks that the wdm documentation frowns upon.

b036dc783d79949a007e60fa58c48009f4dde0c6 authored over 17 years ago
xennet: reuse buffers, but allocate not on init, but when we run out.

219a9310a0f65cf8cba764f9560bbb32addf3096 authored over 17 years ago
xennet: handle if rxrsp status is not positive

remove some ifdefed-out code
comment tweaks

feff3733d1efe0b68b96a48034e691117c82a0a5 authored over 17 years ago
add James' description of what's going on in HwScsiInterruptTarget

2be72ce8dd47f33e4e980867195ae9b7ac61f1cd authored over 17 years ago
remove free packet list to simplify xennet

ead8b63e399b78d7b3580f14ef07cae92fd4b33e authored over 17 years ago
fix typo in netif.h

10b8e9e967b96afaebae15d4b642386610aa265e authored over 17 years ago
fix warnings

4ba261574af1ad573cbc9c45ca507a839622afb4 authored over 17 years ago
Fixed a typo in the pci device detection

729098de0006f7e79db2fa9412d842b83a515192 authored over 17 years ago
Added locking on the grant table code to prevent major badness on SMP systems.

fb910196ae7849e2cc967ab0af06b71819215888 authored over 17 years ago
Tinkered with locking in xennet to try and fix smp crashes

da96c6e30b4e8c7d03a5c475f3201b1d32c377b9 authored over 17 years ago
Fixed a stupid off by one error which was preventing booting when /gplpv was not specified

50ba261715f4d767bac5cafc051d9a2b9dfdf66a authored over 17 years ago
Merged with head

345e36cf24c39b3ed2e2598f5077af0e33603ae0 authored over 17 years ago
Converted xenhide from a wdf driver to a wdm driver, to get around boot load order problems with the wdf libraries.

7771b829333347b9884de7c65bfdc22607d8043b authored over 17 years ago
remove unused variables

5c5fad7a3a43870915051671450618be56a58e37 authored over 17 years ago
Updates to make it easier to build with another version of the ddk. Tested with 6000 and 6001

7a53b2c0302d9500c80abfaea3a85a3f58b1cb27 authored over 17 years ago
And another missing file...

4c329078db57e7e28c1735a865895cbe0dd5a102 authored over 17 years ago
Added some files I forgot

7f660a38c4e135767837bf0d8a73730ad3e39131 authored over 17 years ago
Added tag 0.6.5 for changeset c86476f89561

76e438b4accff6d93680b9f42ddcb9b678936114 authored over 17 years ago
Updates to xenhide to better detect the pci ide adapter

b3eff6a498033f71afe8c3497d26e24e6639a5d9 authored over 17 years ago
Added tag 0.6.4 for changeset 0d62c04dae52

593f81d18225c353e8fce03e49b704d0b85da1d8 authored over 17 years ago
Fixed a problem on XP caused by a fix on x64. Added a stub driver to be used on console and vfb.

6a0fb7880429968691b9dca879dc44a96e07c813 authored over 17 years ago
Added tag 0.6.3 for changeset d90e78d0e7b7

aa9ce445a0aa72d48ccd85d4de95fc6daf5951e5 authored over 17 years ago
Fixed vbd crashes where Dom0 bit width != DomU bit width

cc8a32d0226a6e5ce883adc6f3168f96a9273699 authored over 17 years ago
Added tag 0.6.3 for changeset 71d971853d57

f786d9e024ddd54ce2339b0679a31e1e08913397 authored over 17 years ago
Fixed a structure packing problem which was breaking vbd when used with a 32 bit backend.

88965af0bff055214a78bd8513252283ebb49fde authored over 17 years ago
Updates to better enforce xenhide being loaded before enumerating devices on boot in xenvbd

507f437f27fedb930d2fbf6724516584e4f8bf26 authored over 17 years ago
Added tag 0.6.1.0 for changeset 58d13f9f8ef3

f9e7027068c60fa1f6acc94a85f7608d9612de24 authored over 17 years ago
Fixed xenvbd under x64

bf52e23a91e311c47df360d4b51413e5a60b19e5 authored over 17 years ago
Working on amd64 changes to try and get xenvbd to load properly. Fixed up the compiler warnings under x64 which were caused by public/io/ring.h.

2c962cd94fb0bbbc0626bfcef713c9c28f54fe8d authored over 17 years ago
Updated ini files to properly build for x86 and amd64. XenNet works under amd64. XenVbd doesn't yet.

56ae0716e0bfa3d2527c5211bc6db6aa4a8289d2 authored over 17 years ago
Merge with head

28410093e402a58b52970ca7d2d057fd95240ad7 authored over 17 years ago
Masked cpu with (MAX_VIRT_CPUS - 1). xenpci now loads and enumerates children. Graceful shutdown now works.

ec685a35048ec8c465fa0cac8b1b66659641e780 authored over 17 years ago
fix warnings around intrinsics operating on ptrs to signed vals (trivial)

3188333cb59c937523f96389c14dbc98af1d5317 authored over 17 years ago
getting 64b stuff on 32b, use a different #define to fix

09ab284c9fa918c1c20f2f64312abaccd13af579 authored over 17 years ago
fix cut n paste error (?) so xen{u}long_t is sizeof(void*) on both 32 and 64bit.

4badfbbaca3fb6b2f9f365c8b6172959d94a71d1 authored over 17 years ago
Automated merge with ssh://[email protected]/win-pvdrivers.hg

fad6afba5009625e4db8370b7f5f023367fa385f authored over 17 years ago
xennet: check offload struct headers always, instead of with asserts. Caught by ndistest.

Clean up some warnings.

88601e684d9269582a83b2083f9970d6782d9242 authored over 17 years ago
updates for AMD64 - may have broken 32 bit...

e5e5b6f0fe2dbf4c6c70dab1ca148a9afa4cb401 authored over 17 years ago
patches to change 'long' types in the headers to something that is the same as sizeof(void *) under i386 and amd64 architectures

b0304ad346a1bad2128cb553bbaafbdb136c98b5 authored over 17 years ago
Trying to get AMD64 working. sizeof(long) != sizeof(void *) under AMD64

d51c9fbc520d82546f690fafa46824a010043bbf authored over 17 years ago
Added tag 0.6.0.0 for changeset 21a7b050e472

14c0a684f9d7a0e41be9ff4f82914168db7ed2ff authored over 17 years ago
Final changes and documentation updates for 0.6.0.0 release

9a68ed6543b0cb8f3e574431fe57725b93d00860 authored over 17 years ago
Tidy up after xennet-unload-crash bug fix

c5f25549890edbcd2b2f407d10d1787bac8689ad authored over 17 years ago
Fixed crash by correcting GntTbl code and shutdown ordering. Now going to remove the copious debugging stuff I put in earlier.

f40ea92617f44c80ba7b6364bd6fc0c42ab81e91 authored over 17 years ago
Fixed an error on freeing rx buffers. System now crashes after unload, as per the original fault. Dammit.

97675ea753ce6d0cc605f692ec4a84e6c784bff9 authored over 17 years ago
Very rough 'packet recycling' code to prevent having to allocate memory in dpc. Still crashes on unload, but for a different reason.

81ee0781b419b7ec8133192f21bf62999f1983fc authored over 17 years ago
Lots of changes to try and resolve the crash-on-unload problem with xennet. No fix though.

2a9b4bfa4f9d4ab598fad7e2bbf97008266193cb authored over 17 years ago
Attempted to use the AllocMMIO function so that it isn't such a problem when the memory can't be freed properly in xennet unload. It didn't work though.

7cb736d2ce312fa3c772c6c9c3311df5991e9795 authored over 17 years ago
Don't unload driver on device shutdown... wait until driver unload callback.

Still crashes on unload, but getting closer.

2f7784eeebfdb9bfbf464a5e7e41c1fd52698955 authored over 17 years ago
xennet: use OS-provided 64/32bit macros for int-to-ptr casts

505afef974cb42a5c821dcb3141af2e4b0cfabc4 authored over 17 years ago
Set ndis buffer size back to what it was allocated as before freeing as per MS docs.

Free memory after freeing buffer (eg reverse order of allocation)
Added debugging to count memory...

c2ef7d9303ba948a3aa63e910a5be924732c1252 authored over 17 years ago
Created a macro to avoid warnings when casting int variables to pointers under different arch's

a873292c0f287f1be6a35003ece98cc32d07b527 authored over 17 years ago
Merge with head

25b3c34510488d4a3a27b6b74c3c0583bfb94323 authored over 17 years ago
xennet: fix 2 warnings (don't know why they didn't show up before)

f43177ea03ed5a2f2ab194411c5c063bd35a7737 authored over 17 years ago
xennet: don't free pages if EndAccess fails; use "if_cxt" local var to shorten long lines with InterfaceHeader.Context

d57e1020822e57ff1fc1cb1bcf04bd013514185c authored over 17 years ago
xennet: clean up some old code. implement cleanup of tx wait queue on halt. Whitespace/comments.

2463bbc247fd2de6e3ec0bef537608b2c699413e authored over 17 years ago
Added in some locking for AddWatch, RemWatch, and WatchThreadFunc.

Still crashes when disabling xennet though.

545ffdf80952e0b41a95ef09761cbb929b8dc3c1 authored over 17 years ago
Fixing up a few warnings when compiling under AMD64

e6e01962684a21e8fedb51b6c036953d6c90ca2f authored over 17 years ago
More work on adding AMD64 support

d594046f939808fdf60a8ace02c5bc0815fbff53 authored over 17 years ago
merged with head

527b7507e4d1f009fa10fa742a8d16966a8e57ab authored over 17 years ago
Updates to xenvbd to try and get it to do a memory dump.

Started changes to make the code compile under AMD64.

d86cfe81c059d8778b9309b99391e369b04406da authored over 17 years ago
docs: wrap at 72 chars. Update BUILDING.txt -- BLD at top dir makes all drivers.

3d19f4ff0004b4fc516d8ef4c04a58ad911b3ff9 authored over 17 years ago
xennet: re-disable check for "netfront" field in backend

104c77629bd2bed36fd2ccb9b4bc024acf4391fb authored over 17 years ago
Added UNREFERENCED_PARAMETER to xenenum to make it work under the Free build (KdPrint statements are no-op's under free build)

68225f47460977939e140b1ec7979ec42002301c authored over 17 years ago
fix remaining warnings, now at zero warnings!

dc57903f0dd8daeb068c52b0757ee4a1c7a3d219 authored over 17 years ago
correct easy-to-fix warnings in all drivers

9494540c45dbbe57cc393868787881d1c535a5fd authored over 17 years ago
More merging of Nico's patch

044898a1990144b97ea1d774c1d29f8e10c1a4d7 authored over 17 years ago
Added error checking into xenhide

27e29ecffdb1e7dbe37815dc2d1eae09a2bc5769 authored over 17 years ago
Updated shutdownmon to use the 'force' option .

Added a sysrq handler to xenpci, with 'B' to cause a deliberate BSOD to test memory dumps under x...

d19b610d26691e54c36976c0984a2e01c3463009 authored over 17 years ago
- Fix 'unbind' so that the dpc (if any) is cancelled or completed before returning.

- Add code to make sure that no further calls will be made to ReturnPacket after _Halt is complet...

240b023eeb19073f8609d95d50d1a56f3ed28c6c authored over 17 years ago
- Fixed RxBufferCheck so that more than 2 'chunks' in a packet will work, if it ever happens.

- Updated RxBufferCheck so that an incomplete packet will not cause an assert.
- Fixed ReturnPack...

8006edf6bc494742df03d6f10f5f464397e74f5a authored over 17 years ago
xennet: buffer pool should never be exhausted -- if it is, it's a bug

afe543344a726f321eb01d539d8084c7cd36632c authored over 17 years ago
xennet: Minor tidying after James's multiple-buffers-in-a-packet changes

Move spinlock acqure inside RxBufferAlloc()
Clean up some warnings
Instead of handling some erro...

0083a90d204e4d1c8d41a78ec93db6e3783077c7 authored over 17 years ago
fix bugs in shutdown - thanks to Nico Prenzel

53516a420459439cbe576ac2d9f6da36ecfc7e5c authored over 17 years ago
Updates to allow fragmentation of the xen buffers on rx

76d8e785897b374470969505ee449027d85151d4 authored over 17 years ago
Merged with head.

Beginnings of support for driver checksumming of received packets

556ea160d7814e0e31c1fca375a9c6517966d2af authored over 17 years ago
xennet: add support for queueing packets to send if tx ring is full.

41c60956688f785c67d73a23d12c036003fa4b3a authored over 17 years ago
xennet: tidy up/rearrange device context struct, rename vars for consistency, other misc cleanups

1ca9172a54a48a48e2388d379cf606ffcd6ade98 authored over 17 years ago
xennet: fix compile ifdef OFFLOAD_LARGE_SEND (but leave it undefined for now)

4ef266a3b9bd4c24f2f071d21c7b4db3128d1c14 authored over 17 years ago
Still trying to get csum offload working properly...

this commit doesn't appear to boot properly for me though.

aff47dae5398aa381d7561cd3f96129fe9775529 authored over 17 years ago
xennet: pretty sure it's a good thing to tell backend we're initializing

5cc8b0dde280d5db968dd55a6dd1bd5dc0976ad4 authored over 17 years ago
xennet: actually do what I thought I was doing yesterday

Put all the code in Halt, not Shutdown.
Halt: Free TX and RX buffers, release refs.
Halt: Free a...

bba7902314189cbaa516cd4d427e7303195c5ad0 authored over 17 years ago
xennet: fix off by 1 bug; start implementing shutdown code; redo task offload code in QueryInformation

4a8b444ff5cd857acb2efd940a4648a0113ea163 authored over 17 years ago
prefast complained about excessive stack usage, so change max printf to 512; check status when creating threads (prefast)e

4ff7a6aebb708f1398a3f596be14637d2c04a350 authored over 17 years ago
xenenum: systemstartoptions was getting truncated (I have a lot) so extend

1c7e93653aeabae14616e2e337a87eb2ff66ad56 authored over 17 years ago
Another try and getting the checksums to work...

3de0456b5c01b09450f99fdf39d4f9a92e985995 authored over 17 years ago
More changes to get checksum problems resolved

1d296889feb34e7e7581eb119a9f1c4f1772d6f3 authored over 17 years ago
Started adding in checksum offloading to the rx code path

6b264de27c5ea415012efbb0ffe74fff3d4edd40 authored over 17 years ago
Misc updates - testing for SMP

df2ee2b7d4829a9e562e7d61e2dde33abda40172 authored over 17 years ago
Merged and xennet updates

d5b06db5afd918f00abeba9be7c2958329f81fd3 authored over 17 years ago
xenbus: tidy up msg_reply and AddWatch

30d235c382b0a47565ea99525ba65fcb6f755c24 authored over 17 years ago
set up WatchEntry before calling xenbus_msg_reply, because we may get a response before msg_reply returns

2f2ff860f4297a59fcc0f1e463a295f1cc6e1bfd authored over 17 years ago
Detected current cpu instead of just assuming zero in ISR. Still crashes when vcpus > 1 though

93b1e8fd6b30f213b85608e416f920beb7bc748c authored over 17 years ago
xennet: break up tx and rx locks to prevent recursive acquire

298ab3755b83c1bc7f918f93a0961e295f504e42 authored over 17 years ago
fix shutdown memory leaks caught by driver verifier

1ddac47b32f8973acb6515dc2d45a7635a65e0bc authored over 17 years ago
exec xenbus_interrupt at dispatch because it calls KeSetEvent

c5b249ced81deee8c832d7bae95c6834c6d49df1 authored over 17 years ago
xenpci: clean up warnings and add comments for FreeMem and AllocMMIO

10227b5789f44d63109d1beaf1d365c45ead1094 authored over 17 years ago
xennet: clean up warnings

9c91b6b1b81259bb844989f37bc6c258aba35529 authored over 17 years ago
updated docs to give a better link to the WDF download.

ac34bf038de4d5f5daa6737d8e50719643572523 authored over 17 years ago