* Some code cleanup
* Patch by Josef Baumgartner, 10 Feb 2004: Fixes for Coldfire port * Patch by Brad Kemp, 11 Feb 2004: Fix CFI flash driver problems
This commit is contained in:
18
include/asm-m68k/processor.h
Normal file
18
include/asm-m68k/processor.h
Normal file
@@ -0,0 +1,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 */
|
Reference in New Issue
Block a user