Another missed changed for acorn26 idlelwp. Provide IRQenable/IRQdisable

macros.
This commit is contained in:
skrll 2007-06-01 11:31:01 +00:00
parent 9c898c4d78
commit 322ba9d3c4
1 changed files with 4 additions and 1 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: cpu.h,v 1.43 2007/05/17 14:51:16 yamt Exp $ */
/* $NetBSD: cpu.h,v 1.44 2007/06/01 11:31:01 skrll Exp $ */
/*
* Copyright (c) 1994-1996 Mark Brinicombe.
@ -116,6 +116,9 @@ extern int cpu_do_powersave;
#define IRQdisable __set_cpsr_c(I32_bit, I32_bit);
#define IRQenable __set_cpsr_c(I32_bit, 0);
#endif /* _LOCORE */
#else
#define IRQdisable set_r15(R15_IRQ_DISABLE, R15_IRQ_DISABLE);
#define IRQenable set_r15(R15_IRQ_DISABLE, 0);
#endif
#ifndef _LOCORE