X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fbochs_debug.c;h=cced2ebbe9a35bfc837b2021e9b85eb5067f34d3;hb=abe79f30c8babe9d9e3989cf4a61ae4f3b5ce7e9;hp=4c1ab08546a61b12197a1839929500fd343f66da;hpb=123a1ba27ea09c8fa77a1b36ce625b43d7c48b14;p=palacios-OLD.git diff --git a/palacios/src/devices/bochs_debug.c b/palacios/src/devices/bochs_debug.c index 4c1ab08..cced2eb 100644 --- a/palacios/src/devices/bochs_debug.c +++ b/palacios/src/devices/bochs_debug.c @@ -43,7 +43,7 @@ struct debug_state { uint_t cons_offset; }; -static int handle_info_write(ushort_t port, void * src, uint_t length, struct vm_device * dev) { +static int handle_info_write(struct guest_info * core, ushort_t port, void * src, uint_t length, struct vm_device * dev) { struct debug_state * state = (struct debug_state *)dev->private_data; state->info_buf[state->info_offset++] = *(char*)src; @@ -58,7 +58,7 @@ static int handle_info_write(ushort_t port, void * src, uint_t length, struct vm } -static int handle_debug_write(ushort_t port, void * src, uint_t length, struct vm_device * dev) { +static int handle_debug_write(struct guest_info * core, ushort_t port, void * src, uint_t length, struct vm_device * dev) { struct debug_state * state = (struct debug_state *)dev->private_data; state->debug_buf[state->debug_offset++] = *(char*)src; @@ -73,7 +73,7 @@ static int handle_debug_write(ushort_t port, void * src, uint_t length, struct v } -static int handle_console_write(ushort_t port, void * src, uint_t length, struct vm_device * dev) { +static int handle_console_write(struct guest_info * core, ushort_t port, void * src, uint_t length, struct vm_device * dev) { struct debug_state * state = (struct debug_state *)dev->private_data; state->cons_buf[state->cons_offset++] = *(char*)src; @@ -88,7 +88,7 @@ static int handle_console_write(ushort_t port, void * src, uint_t length, struct } -static int handle_gen_write(ushort_t port, void * src, uint_t length, struct vm_device * dev) { +static int handle_gen_write(struct guest_info * core, ushort_t port, void * src, uint_t length, struct vm_device * dev) { switch (length) { case 1: @@ -134,7 +134,7 @@ static struct v3_device_ops dev_ops = { -static int debug_init(struct guest_info * vm, v3_cfg_tree_t * cfg) { +static int debug_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { struct debug_state * state = NULL; char * name = v3_cfg_val(cfg, "name");