parisc: Allow PDC functions to act when called in narrow mode
Some PDC functions need to know at runtime if they were called in
narrow mode. Add infrastructure to hand over this information to
parisc_pdc_entry().
The background is, that the MPE IPL boot loader calls PDC_MODEL
and provides a very small return buffer, followed in memory by the
stack. So, when pdc_model writes 32 x 8 bytes in 64-bit mode,
the stack of IPL boot will be trashed.
Signed-off-by: Helge Deller <deller@gmx.de>
2 files changed