OpenCores
URL https://opencores.org/ocsvn/c0or1k/c0or1k/trunk

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [conts/] [posix/] [mm0/] [include/] [lib/] [spinlock.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * Fake spinlock for future multi-threaded mm0
3
 */
4
#ifndef __MM0_SPINLOCK_H__
5
#define __MM0_SPINLOCK_H__
6
 
7
struct spinlock {
8
        int lock;
9
};
10
 
11
static inline void spin_lock_init(struct spinlock *s) { }
12
static inline void spin_lock(struct spinlock *s) { }
13
static inline void spin_unlock(struct spinlock *s) { }
14
 
15
#endif /* __MM0_SPINLOCK_H__ */

powered by: WebSVN 2.1.0

© copyright 1999-2025 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.