mirror of
https://github.com/Fishwaldo/Star64_linux.git
synced 2025-07-23 07:12:09 +00:00
powerpc/opal: Add real mode call wrappers
Replace the old generic opal_call_realmode() with proper per-call wrappers similar to the normal ones and convert callers. Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
This commit is contained in:
parent
b7d6bf4fdd
commit
69c592ed40
4 changed files with 51 additions and 44 deletions
|
@ -166,7 +166,8 @@
|
|||
#define OPAL_INT_SET_CPPR 123
|
||||
#define OPAL_INT_EOI 124
|
||||
#define OPAL_INT_SET_MFRR 125
|
||||
#define OPAL_LAST 125
|
||||
#define OPAL_PCI_TCE_KILL 126
|
||||
#define OPAL_LAST 126
|
||||
|
||||
/* Device tree flags */
|
||||
|
||||
|
@ -919,6 +920,13 @@ enum {
|
|||
OPAL_REBOOT_PLATFORM_ERROR = 1,
|
||||
};
|
||||
|
||||
/* Argument to OPAL_PCI_TCE_KILL */
|
||||
enum {
|
||||
OPAL_PCI_TCE_KILL_PAGES,
|
||||
OPAL_PCI_TCE_KILL_PE,
|
||||
OPAL_PCI_TCE_KILL_ALL,
|
||||
};
|
||||
|
||||
#endif /* __ASSEMBLY__ */
|
||||
|
||||
#endif /* __OPAL_API_H */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue