Revision c0a2a096
b/hw/ppce500_pci.c | ||
---|---|---|
89 | 89 |
{ |
90 | 90 |
PPCE500PCIState *pci = opaque; |
91 | 91 |
|
92 |
pci_debug("%s: (addr:%Lx) -> value:%x\n", __func__, addr,
|
|
93 |
pci->pci_state.config_reg);
|
|
92 |
pci_debug("%s: (addr:" TARGET_FMT_plx ") -> value:%x\n", __func__, addr,
|
|
93 |
pci->pci_state.config_reg); |
|
94 | 94 |
return pci->pci_state.config_reg; |
95 | 95 |
} |
96 | 96 |
|
... | ... | |
105 | 105 |
{ |
106 | 106 |
PPCE500PCIState *controller = opaque; |
107 | 107 |
|
108 |
pci_debug("%s: value:%x -> (addr%Lx)\n", __func__, value, addr); |
|
108 |
pci_debug("%s: value:%x -> (addr:" TARGET_FMT_plx ")\n", __func__, value, |
|
109 |
addr); |
|
109 | 110 |
controller->pci_state.config_reg = value & ~0x3; |
110 | 111 |
} |
111 | 112 |
|
... | ... | |
169 | 170 |
break; |
170 | 171 |
} |
171 | 172 |
|
172 |
pci_debug("%s: win:%lx(addr:%Lx) -> value:%x\n",__func__,win,addr,value); |
|
173 |
pci_debug("%s: win:%lx(addr:" TARGET_FMT_plx ") -> value:%x\n", __func__, |
|
174 |
win, addr, value); |
|
173 | 175 |
return value; |
174 | 176 |
} |
175 | 177 |
|
... | ... | |
187 | 189 |
|
188 | 190 |
win = addr & 0xfe0; |
189 | 191 |
|
190 |
pci_debug("%s: value:%x -> win:%lx(addr:%Lx)\n",__func__,value,win,addr); |
|
192 |
pci_debug("%s: value:%x -> win:%lx(addr:" TARGET_FMT_plx ")\n", |
|
193 |
__func__, value, win, addr); |
|
191 | 194 |
|
192 | 195 |
switch (win) { |
193 | 196 |
case PPCE500_PCI_OW1: |
Also available in: Unified diff