X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fos_debug.c;h=53346a2bc903e54be7a893726dd54f57f9a12929;hb=ee1279646a778613b23a42350b903ebb57c068f8;hp=4d7e19a2bffad0ce46d4b905b33e0dd0b4f3360d;hpb=3e5e5a12e64630d7a37ed32b8d7e2d993c79f7e0;p=palacios-OLD.git diff --git a/palacios/src/devices/os_debug.c b/palacios/src/devices/os_debug.c index 4d7e19a..53346a2 100644 --- a/palacios/src/devices/os_debug.c +++ b/palacios/src/devices/os_debug.c @@ -26,7 +26,6 @@ #define BUF_SIZE 1024 #define DEBUG_PORT1 0xc0c0 -#define DEBUG_HCALL 0xc0c0 struct debug_state { char debug_buf[BUF_SIZE]; @@ -120,7 +119,7 @@ static int debug_init(struct v3_vm_info * vm, v3_cfg_tree_t * cfg) { } v3_dev_hook_io(dev, DEBUG_PORT1, NULL, &handle_gen_write); - v3_register_hypercall(vm, DEBUG_HCALL, handle_hcall, dev); + v3_register_hypercall(vm, OS_DEBUG_HCALL, handle_hcall, dev); state->debug_offset = 0; memset(state->debug_buf, 0, BUF_SIZE);