Annotation Interface AnnotatedEmuSyscallUseropLibrary.EmuSyscall
- Enclosing class:
AnnotatedEmuSyscallUseropLibrary<T>
@Retention(RUNTIME)
@Target(METHOD)
public static @interface AnnotatedEmuSyscallUseropLibrary.EmuSyscall
An annotation to export a method as a system call in the library.
The method must also be exported in the userop library, likely via
@PcodeUserop.
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional ElementsModifier and TypeOptional ElementDescriptionbooleanSet to indicate this name overrides the same name inherited from any superclass/interface.
-
Element Details
-
value
String valueThe name of the syscall, which must match the actual name given in the syscall map.- Returns:
- the name
- See Also:
-
override
boolean overrideSet to indicate this name overrides the same name inherited from any superclass/interface.If names collide from the same class, or that from the extension class does not have this flag, an error occurs at library construction.
- Returns:
- true to allow overrides.
- Default:
false
-