- Timestamp:
- 2005-12-15T10:27:59Z (20 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 7dd2561
- Parents:
- 3fc03fd
- Location:
- arch
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
arch/ia32/src/drivers/ega.c
r3fc03fd rdc747e3 43 43 */ 44 44 45 static spinlock_t egalock;45 SPINLOCK_INITIALIZE(egalock); 46 46 static __u32 ega_cursor; 47 47 -
arch/ia32/src/drivers/i8042.c
r3fc03fd rdc747e3 64 64 #define LOCKED_CAPSLOCK (1<<0) 65 65 66 static spinlock_t keylock; /**< keylock protects keyflags and lockflags. */66 SPINLOCK_INITIALIZE(keylock); /**< keylock protects keyflags and lockflags. */ 67 67 static volatile int keyflags; /**< Tracking of multiple keypresses. */ 68 68 static volatile int lockflags; /**< Tracking of multiple keys lockings. */ … … 244 244 exc_register(VECTOR_KBD, "i8042_interrupt", i8042_interrupt); 245 245 trap_virtual_enable_irqs(1<<IRQ_KBD); 246 spinlock_initialize(&keylock, "i8042_lock");247 246 chardev_initialize("i8042_kbd", &kbrd, &ops); 248 247 stdin = &kbrd; -
arch/ia32/src/mm/page.c
r3fc03fd rdc747e3 36 36 #include <arch/interrupt.h> 37 37 #include <arch/asm.h> 38 #include <synch/spinlock.h>39 38 #include <debug.h> 40 39 #include <memstr.h> -
arch/mips32/src/debugger.c
r3fc03fd rdc747e3 39 39 40 40 bpinfo_t breakpoints[BKPOINTS_MAX]; 41 spinlock_t bkpoint_lock;41 SPINLOCK_INITIALIZE(bkpoint_lock); 42 42 43 43 static int cmd_print_breakpoints(cmd_arg_t *argv); … … 182 182 for (i=0; i<BKPOINTS_MAX; i++) 183 183 breakpoints[i].address = NULL; 184 spinlock_initialize(&bkpoint_lock, "breakpoint_lock");185 184 186 185 cmd_initialize(&pbkpt_info); -
arch/mips32/src/mm/asid.c
r3fc03fd rdc747e3 34 34 #include <typedefs.h> 35 35 36 static spinlock_t asid_usage_lock;36 SPINLOCK_INITIALIZE(asid_usage_lock); 37 37 static count_t asid_usage[ASIDS]; /**< Usage tracking array for ASIDs */ 38 38
Note:
See TracChangeset
for help on using the changeset viewer.