|
@@ -42,7 +42,7 @@ On error *pLockedMemHandle marked invalid, non-zero returned.
|
|
If this function succeeds, then HpiOs_LockedMem_GetVirtAddr() and
|
|
If this function succeeds, then HpiOs_LockedMem_GetVirtAddr() and
|
|
HpiOs_LockedMem_GetPyhsAddr() will always succed on the returned handle.
|
|
HpiOs_LockedMem_GetPyhsAddr() will always succed on the returned handle.
|
|
*/
|
|
*/
|
|
-u16 hpios_locked_mem_alloc(struct consistent_dma_area *p_locked_mem_handle,
|
|
|
|
|
|
+int hpios_locked_mem_alloc(struct consistent_dma_area *p_locked_mem_handle,
|
|
/**< memory handle */
|
|
/**< memory handle */
|
|
u32 size, /**< Size in bytes to allocate */
|
|
u32 size, /**< Size in bytes to allocate */
|
|
struct pci_dev *p_os_reference
|
|
struct pci_dev *p_os_reference
|