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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [include/] [l4/] [arch/] [arm/] [mutex.h] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 drasko
/*
2
 * ARM specific low-level mutex interfaces
3
 *
4
 * Copyright (C) 2007 Bahadir Balban
5
 */
6
 
7
#ifndef __ARCH_MUTEX_H__
8
#define __ARCH_MUTEX_H__
9
 
10
/* TODO: The return types could be improved for debug checking */
11
void __spin_lock(unsigned int *s);
12
void __spin_unlock(unsigned int *s);
13
unsigned int __mutex_lock(unsigned int *m);
14
void __mutex_unlock(unsigned int *m);
15
 
16
#endif /* __ARCH_MUTEX_H__ */

powered by: WebSVN 2.1.0

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