commit | 98c1979c8d4bdedd3c733448d09ed837e47909ff | [log] [tgz] |
---|---|---|
author | Michal Simek <monstr@monstr.eu> | Mon May 07 23:58:31 2007 +0200 |
committer | Michal Simek <monstr@monstr.eu> | Mon May 07 23:58:31 2007 +0200 |
tree | 97d017c2c93576570338cd2a5d2034981f131bc8 | |
parent | 8e496be0bcdb608a46c79a9a7982c4e19a41f834 [diff] [blame] |
new: USE_MSR_INTR support
diff --git a/cpu/microblaze/interrupts.c b/cpu/microblaze/interrupts.c old mode 100644 new mode 100755 index dd6a0c7..b61153f --- a/cpu/microblaze/interrupts.c +++ b/cpu/microblaze/interrupts.c
@@ -36,12 +36,12 @@ void enable_interrupts (void) { - __asm__ __volatile__ ("msrset r0, 0x2"); + MSRSET(0x2); } int disable_interrupts (void) { - __asm__ __volatile__ ("msrclr r0, 0x2"); + MSRCLR(0x2); return 0; }