summaryrefslogtreecommitdiffstats
path: root/u-boot/arch/m68k/include/asm/processor.h
blob: 3fafa6ff1a8d3151e5fe437fbdbf3c8cc96881ea (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
#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 */