Changeset c7c0b89b in mainline for arch/ia32/src/ddi/ddi.c
- Timestamp:
- 2006-04-22T18:05:16Z (19 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 613bc54
- Parents:
- 68091bd
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/ddi/ddi.c
r68091bd rc7c0b89b 35 35 #include <arch/pm.h> 36 36 #include <errno.h> 37 #include <arch/cpu.h> 37 38 38 39 /** Enable I/O space range for task. … … 91 92 return 0; 92 93 } 94 95 /** Enable/disable interrupts form syscall 96 * 97 * @param enable If non-zero, interrupts are enabled, otherwise disabled 98 * @param flags CP0 flags register 99 */ 100 __native ddi_int_control_arch(__native enable, __native *flags) 101 { 102 if (enable) 103 *flags |= EFLAGS_IF; 104 else 105 *flags &= ~EFLAGS_IF; 106 return 0; 107 }
Note:
See TracChangeset
for help on using the changeset viewer.