Subversion Repositories shark

Compare Revisions

Ignore whitespace Rev 79 → Rev 80

/shark/trunk/drivers/svga/nvreg.h
26,6 → 26,10
#ifndef __NVREG_H_
#define __NVREG_H_
 
#include "ll/sys/cdefs.h"
 
__BEGIN_DECLS
 
/* Little macro to construct bitmask for contiguous ranges of bits */
#define BITMASK(t,b) (((unsigned)(1U << (((t)-(b)+1)))-1) << (b))
#define MASKEXPAND(mask) BITMASK(1?mask,0?mask)
172,6 → 176,8
NVChipType GetChipType(void);
*/
 
__END_DECLS
 
#endif