diff options
author | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-12 18:00:41 +0100 |
---|---|---|
committer | cinap_lenrek <cinap_lenrek@felloff.net> | 2020-12-12 18:00:41 +0100 |
commit | 5ea540e75def56d3c2b5ef16f0f4e91d5f5c0ad1 (patch) | |
tree | 4c79099a0f61013129f420fe762e01501019d3d9 /sys/src/cmd/python/Python/dynload_atheos.c | |
parent | b1d1fa04b952d19064ecc9c4b0a6c07e39e71c3b (diff) |
sdiahci: enable pci busmaster before ahciconfigdrive() (fix qemu crash)
enable pci busmaster before set the fis-receive-enable
bit in the port command register.
not doing so triggers a crash in qemu like:
address_space_unmap: Assertion `mr != NULL' failed.
as qemu tries to process the dma command list as soon
as we set that flag and busmaster dma needs to be enabled
at this point.
Diffstat (limited to 'sys/src/cmd/python/Python/dynload_atheos.c')
0 files changed, 0 insertions, 0 deletions