kernel: Add set_clac and clear_ac() definitions on non-x86 platforms.

This commit is contained in:
Jérôme Duval
2018-01-31 19:32:46 +01:00
parent 272a3e2ced
commit 66fa3b1847
3 changed files with 12 additions and 0 deletions
@@ -11,6 +11,10 @@
// TODO: Could be 32-bits sometimes?
#define set_ac()
#define clear_ac()
#ifndef _ASSEMBLER
#include <arch/arm/arch_thread_types.h>
@@ -18,6 +18,10 @@
#define CACHE_LINE_SIZE 16
#define set_ac()
#define clear_ac()
#define SR_IP_MASK 0x0700
#define SR_S 0x2000
#define M68K_SR_S 13
@@ -16,6 +16,10 @@
// 128 Byte lines on PPC970
#define set_ac()
#define clear_ac()
struct iframe {
uint32 vector;
uint32 srr0;