Changeset 8be8cfa in mainline
- Timestamp:
- 2007-01-29T17:16:56Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- dad5951
- Parents:
- 0b3a78f
- Location:
- kernel
- Files:
-
- 8 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/genarch/include/fb/fb.h
r0b3a78f r8be8cfa 39 39 #include <synch/spinlock.h> 40 40 41 extern spinlock_t fb_lock;41 SPINLOCK_EXTERN(fb_lock); 42 42 void fb_init(uintptr_t addr, unsigned int x, unsigned int y, unsigned int scan, unsigned int visual); 43 43 -
kernel/generic/include/console/kconsole.h
r0b3a78f r8be8cfa 70 70 } cmd_info_t; 71 71 72 extern spinlock_t cmd_lock;72 SPINLOCK_EXTERN(cmd_lock); 73 73 extern link_t cmd_head; 74 74 -
kernel/generic/include/mm/as.h
r0b3a78f r8be8cfa 140 140 extern as_operations_t *as_operations; 141 141 142 extern spinlock_t inactive_as_with_asid_lock;142 SPINLOCK_EXTERN(inactive_as_with_asid_lock); 143 143 extern link_t inactive_as_with_asid_head; 144 144 -
kernel/generic/include/mm/asid.h
r0b3a78f r8be8cfa 59 59 #define ASIDS_ALLOCABLE ((ASID_MAX + 1) - ASID_START) 60 60 61 extern spinlock_t asidlock;61 SPINLOCK_EXTERN(asidlock); 62 62 extern link_t as_with_asid_head; 63 63 -
kernel/generic/include/print.h
r0b3a78f r8be8cfa 41 41 42 42 /* We need this address in spinlock to avoid deadlock in deadlock detection */ 43 extern spinlock_t printflock;43 SPINLOCK_EXTERN(printflock); 44 44 45 45 #define EOF (-1) -
kernel/generic/include/proc/task.h
r0b3a78f r8be8cfa 247 247 } thread_t; 248 248 249 extern spinlock_t tasks_lock;249 SPINLOCK_EXTERN(tasks_lock); 250 250 extern btree_t tasks_btree; 251 251 -
kernel/generic/include/proc/thread.h
r0b3a78f r8be8cfa 61 61 * 62 62 */ 63 extern spinlock_t threads_lock;63 SPINLOCK_EXTERN(threads_lock); 64 64 65 65 extern btree_t threads_btree; /**< B+tree containing all threads. */ -
kernel/generic/include/synch/spinlock.h
r0b3a78f r8be8cfa 54 54 */ 55 55 #define SPINLOCK_DECLARE(slname) spinlock_t slname 56 #define SPINLOCK_EXTERN(slname) extern spinlock_t slname 56 57 57 58 /* … … 103 104 #else 104 105 105 typedef void spinlock_t;106 107 106 /* On UP systems, spinlocks are effectively left out. */ 108 107 #define SPINLOCK_DECLARE(name) 108 #define SPINLOCK_EXTERN(name) 109 109 #define SPINLOCK_INITIALIZE(name) 110 110
Note:
See TracChangeset
for help on using the changeset viewer.