mirror of
https://github.com/Motorhead1991/qemu.git
synced 2025-08-09 18:44:58 -06:00
hw/sh4: Coding style: White space fixes
Signed-off-by: BALATON Zoltan <balaton@eik.bme.hu> Reviewed-by: Philippe Mathieu-Daudé <f4bug@amsat.org> Reviewed-by: Yoshinori Sato <ysato@users.sourceforge.jp> Message-Id: <91698c54fa493a4cfe93546211206439787d4b78.1635541329.git.balaton@eik.bme.hu> Signed-off-by: Philippe Mathieu-Daudé <f4bug@amsat.org>
This commit is contained in:
parent
221389657a
commit
f94bff1337
10 changed files with 104 additions and 90 deletions
|
@ -81,14 +81,15 @@ static regname_t regnames[] = {
|
|||
REGNAME(SH7750_BCR3_A7)
|
||||
REGNAME(SH7750_BCR4_A7)
|
||||
REGNAME(SH7750_SDMR2_A7)
|
||||
REGNAME(SH7750_SDMR3_A7) {(uint32_t) - 1, NULL}
|
||||
REGNAME(SH7750_SDMR3_A7)
|
||||
{ (uint32_t)-1, NULL }
|
||||
};
|
||||
|
||||
const char *regname(uint32_t addr)
|
||||
{
|
||||
unsigned int i;
|
||||
|
||||
for (i = 0; regnames[i].regaddr != (uint32_t) - 1; i++) {
|
||||
for (i = 0; regnames[i].regaddr != (uint32_t)-1; i++) {
|
||||
if (regnames[i].regaddr == addr)
|
||||
return regnames[i].regname;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue