diff options
author | Michael Ellerman <mpe@ellerman.id.au> | 2016-09-30 19:43:18 +1000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2016-10-04 13:06:36 +1100 |
commit | da2bc4644c75d992427c45c5ade3bdf18ca1b52d (patch) | |
tree | 412a6767cf27d5fd6e09f3a85cc17efcab35bf2f /crypto | |
parent | 5045ea37377ce8cca6890d32b127ad6770e6dce5 (diff) |
powerpc/64s: Add new exception vector macros
Create arch/powerpc/include/asm/head-64.h with macros that specify
an exception vector (name, type, location), which will be used to
label and lay out exceptions into the object file.
Naming is moved out of exception-64s.h, which is used to specify the
implementation of exception handlers.
objdump of generated code in exception vectors is unchanged except for
names. Alignment directives scattered around are annoying, but done
this way so that disassembly can verify identical instruction
generation before and after patch. These get cleaned up in future
patch.
We change the way KVMTEST works, explicitly passing EXC_HV or EXC_STD
rather than overloading the trap number. This removes the need to have
SOFTEN values for the overloaded trap numbers, eg. 0x502.
Signed-off-by: Nicholas Piggin <npiggin@gmail.com>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Diffstat (limited to 'crypto')
0 files changed, 0 insertions, 0 deletions