|
iPXE
|
Xen interface. More...
Go to the source code of this file.
Data Structures | |
| struct | xen_hypercall |
| A hypercall entry point. More... | |
Macros | |
| #define | XEN_REG1 "ebx" |
| #define | XEN_REG2 "ecx" |
| #define | XEN_REG3 "edx" |
| #define | XEN_REG4 "esi" |
| #define | XEN_REG5 "edi" |
Functions | |
| FILE_LICENCE (GPL2_OR_LATER_OR_UBDL) | |
| struct xen_hypercall | __attribute__ ((packed)) |
| static | __attribute__ ((always_inline)) unsigned long xen_hypercall_1(struct xen_hypervisor *xen |
| Issue hypercall with one argument. More... | |
| __asm__ | __volatile__ ("call *%2" :"=a"(retval), "+r"(reg1) :"r"(&xen->hypercall[hypercall]) :XEN_REG2, XEN_REG3, XEN_REG4, XEN_REG5, "memory") |
| register unsigned long reg2 | asm (XEN_REG2) = arg2 |
| register unsigned long reg3 | asm (XEN_REG3) = arg3 |
| register unsigned long reg4 | asm (XEN_REG4) = arg4 |
| register unsigned long reg5 | asm (XEN_REG5) |
Variables | |
| uint8_t | code [32] |
| Code generated by hypervisor. More... | |
| static unsigned int | hypercall |
| static unsigned int unsigned long | arg1 |
| unsigned long | retval |
| static unsigned int unsigned long unsigned long | arg2 |
| static unsigned int unsigned long unsigned long unsigned long | arg3 |
| static unsigned int unsigned long unsigned long unsigned long unsigned long | arg4 |
| static unsigned int unsigned long unsigned long unsigned long unsigned long unsigned long | arg5 |
Xen interface.
Definition in file xen.h.
| FILE_LICENCE | ( | GPL2_OR_LATER_OR_UBDL | ) |
| struct xen_hypercall __attribute__ | ( | (packed) | ) |
|
inlinestatic |
Issue hypercall with one argument.
Issue hypercall with five arguments.
Issue hypercall with four arguments.
Issue hypercall with three arguments.
Issue hypercall with two arguments.
| xen | Xen hypervisor |
| hypercall | Hypercall number |
| arg1 | First argument |
| retval | Return value |
| xen | Xen hypervisor |
| hypercall | Hypercall number |
| arg1 | First argument |
| arg2 | Second argument |
| retval | Return value |
| xen | Xen hypervisor |
| hypercall | Hypercall number |
| arg1 | First argument |
| arg2 | Second argument |
| arg3 | Third argument |
| retval | Return value |
| xen | Xen hypervisor |
| hypercall | Hypercall number |
| arg1 | First argument |
| arg2 | Second argument |
| arg3 | Third argument |
| arg4 | Fourth argument |
| retval | Return value |
| xen | Xen hypervisor |
| hypercall | Hypercall number |
| arg1 | First argument |
| arg2 | Second argument |
| arg3 | Third argument |
| arg4 | Fourth argument |
| arg5 | Fifth argument |
| retval | Return value |
| __asm__ __volatile__ | ( | ) |
| register unsigned long reg5 asm | ( | XEN_REG5 | ) |
| static unsigned int hypercall |
Definition at line 42 of file xen.h.
Referenced by hv_map_hypercall(), and hv_unmap_hypercall().
| static unsigned int unsigned long arg1 |
Definition at line 43 of file xen.h.
Referenced by b44_phy_read(), b44_phy_write(), and phantom_issue_cmd().
| return retval |
Definition at line 45 of file xen.h.
Referenced by ath5k_hw_bitswap(), ath9k_hw_reverse_bits(), ath_rx_tasklet(), edit_string(), eeprom_read(), mdio_read(), mii_rw(), nv_update_linkspeed(), read_eeprom(), sis900_mdio_read(), and sis900_read_eeprom().
| static unsigned int unsigned long unsigned long arg2 |
Definition at line 66 of file xen.h.
Referenced by b44_phy_read(), b44_phy_write(), and phantom_issue_cmd().
| static unsigned int unsigned long unsigned long unsigned long arg3 |
Definition at line 90 of file xen.h.
Referenced by b44_phy_read(), b44_phy_write(), and phantom_issue_cmd().
| static unsigned int unsigned long unsigned long unsigned long unsigned long arg4 |
Definition at line 118 of file xen.h.
Referenced by b44_phy_read(), and b44_phy_write().
| unsigned int unsigned long unsigned long unsigned long unsigned long unsigned long arg5 |
1.8.15