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

Subversion Repositories c0or1k

[/] [c0or1k/] [trunk/] [include/] [l4/] [arch/] [arm/] [mutex.h] - Rev 6

Go to most recent revision | Compare with Previous | Blame | View Log

/*
 * ARM specific low-level mutex interfaces
 *
 * Copyright (C) 2007 Bahadir Balban
 */
 
#ifndef __ARCH_MUTEX_H__
#define __ARCH_MUTEX_H__
 
/* TODO: The return types could be improved for debug checking */
void __spin_lock(unsigned int *s);
void __spin_unlock(unsigned int *s);
unsigned int __mutex_lock(unsigned int *m);
void __mutex_unlock(unsigned int *m);
 
#endif /* __ARCH_MUTEX_H__ */
 

Go to most recent revision | Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

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