mirror of
https://github.com/AsahiLinux/u-boot
synced 2024-11-18 18:59:44 +00:00
19 lines
362 B
C
19 lines
362 B
C
|
#ifndef __ASM_M68K_PROCESSOR_H
|
||
|
#define __ASM_M68K_PROCESSOR_H
|
||
|
|
||
|
#include <asm/ptrace.h>
|
||
|
#include <asm/types.h>
|
||
|
|
||
|
#define _GLOBAL(n)\
|
||
|
.globl n;\
|
||
|
n:
|
||
|
|
||
|
/* Macros for setting and retrieving special purpose registers */
|
||
|
#define setvbr(v) asm volatile("movec %0,%%VBR" : : "r" (v))
|
||
|
|
||
|
#ifndef __ASSEMBLY__
|
||
|
|
||
|
#endif /* ifndef ASSEMBLY*/
|
||
|
|
||
|
#endif /* __ASM_M68K_PROCESSOR_H */
|