3 comments:
File src/soc/amd/common/block/smbus/smbus.c:
union reg_bank {
uint8_t reg8[0x100];
uint16_t reg16[0x100 / sizeof(uint16_t)];
};
I'm clearly missing something. What aliasing? This seems really strange as well.
Patch Set #10, Line 23: controller->reg8[reg];
read8()
Patch Set #10, Line 29: controller->reg8[reg] = val
write8()
To view, visit change 42074. To unsubscribe, or for help writing mail filters, visit settings.