java.lang.Object | |
↳ | com.pnfsoftware.jeb.core.units.code.asm.processor.RegisterBankService |
The register bank service is a global registry maintaining processors' register banks, used by native code objects.
Typically, register banks are added to this service in a code plugin
static initializer block.
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
IRegisterBank |
add(ProcessorType proctype, IRegisterBank bank)
Register a register bank for a given processor.
| ||||||||||
IRegisterBank |
get(ProcessorType proctype)
Retrieve the register bank associated with the given processor type, if any.
| ||||||||||
static RegisterBankService | getInstance() | ||||||||||
Collection<ProcessorType> |
getSupportedProcessors()
Retrieve the list of processor types having a register bank, managed by this service.
| ||||||||||
boolean |
remove(ProcessorType proctype)
Unregister a register bank.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
|
Register a register bank for a given processor. Only a single bank can be associated with a given processor.
proctype | processor type |
---|---|
bank | register bank |
Retrieve the register bank associated with the given processor type, if any.
proctype | processor type |
---|
Retrieve the list of processor types having a register bank, managed by this service.
Unregister a register bank.
proctype | processor type |
---|