dm: passthrough opregion to uos gpu

This commit is contained in:
Zhipeng Gong
2018-10-18 09:23:09 +08:00
committed by Zhao Yakui
parent 3a0f83ed73
commit e5b21a2e90
3 changed files with 24 additions and 0 deletions

View File

@@ -143,4 +143,9 @@ void vm_reset_watchdog(struct vmctx *ctx);
int vm_ioeventfd(struct vmctx *ctx, struct acrn_ioeventfd *args);
int vm_irqfd(struct vmctx *ctx, struct acrn_irqfd *args);
extern uint32_t opregion_start;
#define OPREGION_SIZE 0x3000
#define PCIR_ASLS_CTL 0xFC
#endif /* _VMMAPI_H_ */