Function report |
Source Code:arch\x86\include\asm\mshyperv.h |
Create Date:2022-07-28 08:15:11 |
| Last Modify:2020-03-12 14:18:49 | Copyright©Brick |
| home page | Tree |
| Annotation kernel can get tool activity | Download SCCT | Chinese |
Name:Rep hypercalls. Callers of this functions are supposed to ensure that* rep_count and varhead_size comply with Hyper-V hypercall definition.
Proto:static inline u64 hv_do_rep_hypercall(u16 code, u16 rep_count, u16 varhead_size, void *input, void *output)
Type:u64
Parameter:
| Type | Parameter | Name |
|---|---|---|
| u16 | code | |
| u16 | rep_count | |
| u16 | varhead_size | |
| void * | input | |
| void * | output |
| 188 | control |= varhead_size << HV_HYPERCALL_VARHEAD_OFFSET |
| 189 | control |= rep_count << HV_HYPERCALL_REP_COMP_OFFSET |
| 191 | Do |
| 192 | status = hv_do_hypercall(control, input, output) |
| 193 | If (status & HV_HYPERCALL_RESULT_MASK) != hypercall status code Then Return status |
| 200 | control &= ~HV_HYPERCALL_REP_START_MASK |
| 201 | control |= rep_comp << HV_HYPERCALL_REP_START_OFFSET |
| 206 | Return status |
| Source code conversion tool public plug-in interface | X |
|---|---|
| Support c/c++/esqlc/java Oracle/Informix/Mysql Plug-in can realize: logical Report Code generation and batch code conversion |