4 * Copyright 2005, Broadcom Corporation
7 * THIS SOFTWARE IS OFFERED "AS IS", AND BROADCOM GRANTS NO WARRANTIES OF ANY
8 * KIND, EXPRESS OR IMPLIED, BY STATUTE, COMMUNICATION OR OTHERWISE. BROADCOM
9 * SPECIFICALLY DISCLAIMS ANY IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS
10 * FOR A SPECIFIC PURPOSE OR NONINFRINGEMENT CONCERNING THIS SOFTWARE.
11 * $Id: osl.h,v 1.1.1.10 2005/03/07 07:31:12 kanki Exp $
18 #include <linux_osl.h>
23 #elif defined(_HNDRTE_)
24 #include <hndrte_osl.h>
25 #elif defined(_MINOSL_)
30 #include <macosx_osl.h>
32 #error "Unsupported OSL requested"
36 #define SET_REG(r, mask, val) W_REG((r), ((R_REG(r) & ~(mask)) | (val)))
37 #define MAXPRIO 7 /* 0-7 */