diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-16 23:55:34 +0100 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-02-16 23:57:56 +0100 |
commit | 74b070f2f301ccf9e7ec0feb48b51412280700d9 (patch) | |
tree | d2beb216d654a5bf10ff91e85c5482ed2ee81ae1 /xen | |
parent | 768a7d4a989d95e22e1249c36c57655665975918 (diff) | |
download | gnumach-74b070f2f301ccf9e7ec0feb48b51412280700d9.tar.gz gnumach-74b070f2f301ccf9e7ec0feb48b51412280700d9.tar.bz2 gnumach-74b070f2f301ccf9e7ec0feb48b51412280700d9.zip |
xen: Fix storing physical addresses
Diffstat (limited to 'xen')
-rw-r--r-- | xen/block.c | 4 | ||||
-rw-r--r-- | xen/net.c | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/xen/block.c b/xen/block.c index f7c7d7db..84fe4449 100644 --- a/xen/block.c +++ b/xen/block.c @@ -108,7 +108,7 @@ void hyp_block_init(void) { domid_t domid; evtchn_port_t evt; hyp_store_transaction_t t; - vm_offset_t addr; + phys_addr_t addr; struct block_data *bd; blkif_sring_t *ring; @@ -573,7 +573,7 @@ device_write(void *d, ipc_port_t reply_port, vm_offset_t map_addr; vm_size_t map_size; unsigned copy_npages = atop(round_page(count)); - vm_offset_t phys_addrs[copy_npages]; + phys_addr_t phys_addrs[copy_npages]; struct block_data *bd = d; blkif_request_t *req; grant_ref_t gref[BLKIF_MAX_SEGMENTS_PER_REQUEST]; @@ -313,7 +313,7 @@ void hyp_net_init(void) { domid_t domid; evtchn_port_t evt; hyp_store_transaction_t t; - vm_offset_t addr; + phys_addr_t addr; struct net_data *nd; struct ifnet *ifp; netif_tx_sring_t *tx_ring; |