From 077e6ebae5d33229a801caa99ffda77006c01f92 Mon Sep 17 00:00:00 2001 From: joevt Date: Mon, 29 Jan 2024 17:24:48 -0800 Subject: [PATCH] machineid: Don't decode board register address. All addresses return the same value. Converted for Board Register 1 and Board Register 66. --- devices/common/machineid.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/devices/common/machineid.h b/devices/common/machineid.h index 796be11..d493716 100644 --- a/devices/common/machineid.h +++ b/devices/common/machineid.h @@ -92,7 +92,7 @@ public: ~BoardRegister() = default; uint16_t iodev_read(uint32_t address) { - return (!address) ? this->data : 0xFFFFU; + return this->data; }; // appears read-only to guest