\r
/**\r
This function will put the two arguments in the right place (registers) and\r
- call HypercallAddr, which correspond to an entry in the hypercall pages.\r
+ invoke the hypercall identified by HypercallID.\r
\r
- @param HypercallAddr A memory address where the hypercall to call is.\r
+ @param HypercallID The symbolic ID of the hypercall to be invoked\r
@param Arg1 First argument.\r
@param Arg2 Second argument.\r
\r
INTN\r
EFIAPI\r
XenHypercall2 (\r
- IN VOID *HypercallAddr,\r
+ IN INTN HypercallID,\r
IN OUT INTN Arg1,\r
IN OUT INTN Arg2\r
);\r
**/\r
EFI_STATUS\r
XenHyperpageInit (\r
- XENBUS_DEVICE *Dev\r
);\r
\r
/**\r
Return the value of the HVM parameter Index.\r
\r
- @param Dev A XENBUS_DEVICE instance.\r
@param Index The parameter to get, e.g. HVM_PARAM_STORE_EVTCHN.\r
\r
@return The value of the asked parameter or 0 in case of error.\r
**/\r
UINT64\r
XenHypercallHvmGetParam (\r
- XENBUS_DEVICE *Dev,\r
UINT32 Index\r
);\r
\r
/**\r
Hypercall to do different operation on the memory.\r
\r
- @param Dev A XENBUS_DEVICE instance.\r
@param Operation The operation number, e.g. XENMEM_add_to_physmap.\r
@param Arguments The arguments associated to the operation.\r
\r
**/\r
INTN\r
XenHypercallMemoryOp (\r
- IN XENBUS_DEVICE *Dev,\r
IN UINTN Operation,\r
IN OUT VOID *Arguments\r
);\r
/**\r
Do an operation on the event channels.\r
\r
- @param Dev A XENBUS_DEVICE instance.\r
@param Operation The operation number, e.g. EVTCHNOP_send.\r
@param Arguments The argument associated to the operation.\r
\r
**/\r
INTN\r
XenHypercallEventChannelOp (\r
- IN XENBUS_DEVICE *Dev,\r
IN INTN Operation,\r
IN OUT VOID *Arguments\r
);\r
\r
-/**\r
- Map the shared_info_t page into memory.\r
-\r
- @param Dev A XENBUS_DEVICE instance.\r
-\r
- @retval EFI_SUCCESS Dev->SharedInfo whill contain a pointer to\r
- the shared info page\r
- @retval EFI_LOAD_ERROR The shared info page could not be mapped. The\r
- hypercall returned an error.\r
-**/\r
-EFI_STATUS\r
-XenGetSharedInfoPage (\r
- IN OUT XENBUS_DEVICE *Dev\r
- );\r
-\r
#endif\r