X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fdevices%2Fpci_front.c;h=70dc980014c59f01452ccb1257175c5ce9fecb60;hb=94f67717b6461df514dc225ed84f03b44c44061b;hp=eb73076f96299371f28ee632f1d87f4ceea42a3a;hpb=0dc44b36f3d1f95efe8fe96484e76e65aeebd197;p=palacios-OLD.git diff --git a/palacios/src/devices/pci_front.c b/palacios/src/devices/pci_front.c index eb73076..70dc980 100644 --- a/palacios/src/devices/pci_front.c +++ b/palacios/src/devices/pci_front.c @@ -57,7 +57,7 @@ #include -#ifndef CONFIG_DEBUG_PCI_FRONT +#ifndef V3_CONFIG_DEBUG_PCI_FRONT #undef PrintDebug #define PrintDebug(fmt, args...) #endif @@ -151,7 +151,7 @@ static int push_config(struct pci_front_internal *state, uint8_t *config) static int pull_config(struct pci_front_internal *state, uint8_t *config) { - if (v3_host_dev_config_read(state->host_dev, 0, config, 256) != 256) { + if (v3_host_dev_read_config(state->host_dev, 0, config, 256) != 256) { return -1; } else { return 0; @@ -625,7 +625,7 @@ static int pci_front_config_update(uint_t reg_num, void * src, uint_t length, vo PrintDebug("\n"); - if (v3_host_dev_config_write(state->host_dev, + if (v3_host_dev_write_config(state->host_dev, pci_addr.value, src, length) != length) {