<html><body bgcolor="#FFFFFF"><div></div><div><span class="Apple-style-span" style="-webkit-tap-highlight-color: rgba(26, 26, 26, 0.296875); -webkit-composition-fill-color: rgba(175, 192, 227, 0.230469); -webkit-composition-frame-color: rgba(77, 128, 180, 0.230469); font-size: 15px; font-family: Calibri; "><div>
Can this code from a Kernel Module:</div><div>rxr->rx_desc_ring[j] = pci_alloc_consistent(bp->pdev, RXBD_RING_SIZE, &rxr->rx_desc_mapping[j]);</div><div><font face="Times New Roman"> </font></div><div>Be translated into this code in an iPXE driver?</div>
<div>rxr->rx_desc_ring[j] = malloc_dma(RXBD_RING_SIZE, RXBD_RING_SIZE);</div><div>rxr->rx_desc_mapping[j] = virt_to_bus(rxr->rx_desc_ring[j]);</div><div><font face="Times New Roman"> </font></div><div><font face="Times New Roman"> </font></div>
<div><font face="Times New Roman"> </font></div></span><br>Sent from my iPhone</div></body></html>