processor.h 311 B

1234567891011121314
  1. #ifndef __ASM_M68K_PROCESSOR_H
  2. #define __ASM_M68K_PROCESSOR_H
  3. #include <asm/ptrace.h>
  4. #include <asm/types.h>
  5. #define _GLOBAL(n)\
  6. .globl n;\
  7. n:
  8. /* Macros for setting and retrieving special purpose registers */
  9. #define setvbr(v) asm volatile("movec %0,%%VBR" : : "r" (v))
  10. #endif /* __ASM_M68K_PROCESSOR_H */