Using the ptr defines broke the powerpc build - convert set_mmfsa to the same
convention as the rest of openfirm.c
This commit is contained in:
parent
1f770dea72
commit
59e3dc5a09
@ -842,8 +842,8 @@ OF_set_mmfsa_traptable(void *tba_addr, uint64_t mmfsa_ra)
|
|||||||
0,
|
0,
|
||||||
};
|
};
|
||||||
|
|
||||||
args.tba_addr = p1275_ptr2cell(tba_addr);
|
args.tba_addr = (cell_t)tba_addr;
|
||||||
args.mmfsa_ra = p1275_ptr2cell(mmfsa_ra);
|
args.mmfsa_ra = (cell_t)mmfsa_ra;
|
||||||
openfirmware(&args);
|
openfirmware(&args);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user