/*
 *              Copyright (C) 2005, BroadOn Communications Corp.
 *
 * These coded instructions, statements, and computer programs contain
 * unpublished  proprietary information of BroadOn Communications Corp.,
 * and  are protected by Federal copyright law. They may not be disclosed
 * to  third  parties or copied or duplicated in any form, in whole or in
 * part, without the prior written consent of BroadOn Communications Corp.
 *
 */

#ifndef __SPLOCKB_H__
#define __SPLOCKB_H__

#if !defined(ASSEMBLER)

/*
 * Byte spinlock routines
 */
typedef u8 *lockb_t;
extern void __skInitSplockB(lockb_t lck);
extern void __skSplockB(lockb_t lck);
extern void __skSpunlockB(lockb_t lck);
extern u32 __skSplockBDisable(lockb_t lck);
extern u32 __skSpunlockBRestore(lockb_t lck, u32 mask);

#endif /* ASSEMBLER */
#endif /* __SPLOCKB_H__ */
