Displaying 1 result from an estimated 1 matches for "hdl_list".
Did you mean:
dl_list
2005 Jun 30
0
[PATCH][2/10] Extend the VMX intercept mechanism to include mmio as well as portio.
...INTERCEPT_H
@@ -13,18 +12,45 @@
typedef int (*intercept_action_t)(ioreq_t*);
+enum {PORTIO, MMIO};
+
struct vmx_handler_t {
int num_slot;
struct {
unsigned long addr;
+ int type;
unsigned long offset;
intercept_action_t action;
} hdl_list[MAX_IO_HANDLER];
};
/* global io interception point in HV */
-extern int vmx_io_intercept(ioreq_t*);
-extern int register_io_handler(unsigned long, unsigned long, intercept_action_t);
+extern int vmx_io_intercept(ioreq_t *p, int type);
+extern int register_io_handler(unsigned long addr, unsigne...