kernel: Add set_clac and clear_ac() definitions on non-x86 platforms.
This commit is contained in:
@@ -11,6 +11,10 @@
|
|||||||
// TODO: Could be 32-bits sometimes?
|
// TODO: Could be 32-bits sometimes?
|
||||||
|
|
||||||
|
|
||||||
|
#define set_ac()
|
||||||
|
#define clear_ac()
|
||||||
|
|
||||||
|
|
||||||
#ifndef _ASSEMBLER
|
#ifndef _ASSEMBLER
|
||||||
|
|
||||||
#include <arch/arm/arch_thread_types.h>
|
#include <arch/arm/arch_thread_types.h>
|
||||||
|
|||||||
@@ -18,6 +18,10 @@
|
|||||||
#define CACHE_LINE_SIZE 16
|
#define CACHE_LINE_SIZE 16
|
||||||
|
|
||||||
|
|
||||||
|
#define set_ac()
|
||||||
|
#define clear_ac()
|
||||||
|
|
||||||
|
|
||||||
#define SR_IP_MASK 0x0700
|
#define SR_IP_MASK 0x0700
|
||||||
#define SR_S 0x2000
|
#define SR_S 0x2000
|
||||||
#define M68K_SR_S 13
|
#define M68K_SR_S 13
|
||||||
|
|||||||
@@ -16,6 +16,10 @@
|
|||||||
// 128 Byte lines on PPC970
|
// 128 Byte lines on PPC970
|
||||||
|
|
||||||
|
|
||||||
|
#define set_ac()
|
||||||
|
#define clear_ac()
|
||||||
|
|
||||||
|
|
||||||
struct iframe {
|
struct iframe {
|
||||||
uint32 vector;
|
uint32 vector;
|
||||||
uint32 srr0;
|
uint32 srr0;
|
||||||
|
|||||||
Reference in New Issue
Block a user