mirror of
https://github.com/dingusdev/dingusppc.git
synced 2025-01-11 05:29:43 +00:00
mmiodevice: Move SIZE_ARG macro from pcibase.
This commit is contained in:
parent
bc582e64cc
commit
fafbd9a04f
@ -36,4 +36,7 @@ public:
|
||||
virtual ~MMIODevice() = default;
|
||||
};
|
||||
|
||||
#define SIZE_ARG(size) (size == 4 ? 'l' : size == 2 ? 'w' : \
|
||||
size == 1 ? 'b' : '0' + size)
|
||||
|
||||
#endif /* MMIO_DEVICE_H */
|
||||
|
@ -197,9 +197,6 @@ inline uint32_t pci_cfg_log(uint32_t value, AccessDetails &details) {
|
||||
}
|
||||
}
|
||||
|
||||
#define SIZE_ARG(size) (size == 4 ? 'l' : size == 2 ? 'w' : \
|
||||
size == 1 ? 'b' : '0' + size)
|
||||
|
||||
#define LOG_READ_UNIMPLEMENTED_CONFIG_REGISTER() \
|
||||
do { if ((details.flags & PCI_CONFIG_DIRECTION) == PCI_CONFIG_READ) { \
|
||||
VLOG_F( \
|
||||
|
Loading…
x
Reference in New Issue
Block a user