processor.h 362 B

123456789101112131415161718
  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. #ifndef __ASSEMBLY__
  11. #endif /* ifndef ASSEMBLY*/
  12. #endif /* __ASM_M68K_PROCESSOR_H */