sim: ppc: migrate to standard uintXX_t types

Drop the sim-specific unsignedXX types and move to the standard uintXX_t
types that C11 provides.
This commit is contained in:
Mike Frysinger
2021-12-06 02:42:00 -05:00
parent e4c803f5bb
commit 95e40d770e
37 changed files with 1332 additions and 1343 deletions

View File

@@ -873,7 +873,7 @@ psim_read_register(psim *system,
break;
case reg_evr:
*(unsigned64*)cooked_buf = EVR(description.index);
*(uint64_t*)cooked_buf = EVR(description.index);
break;
case reg_acc:
@@ -1046,8 +1046,8 @@ psim_write_register(psim *system,
case reg_evr:
{
unsigned64 v;
v = *(unsigned64*)cooked_buf;
uint64_t v;
v = *(uint64_t*)cooked_buf;
cpu_registers(processor)->e500.gprh[description.index] = v >> 32;
cpu_registers(processor)->gpr[description.index] = v;
break;