fis-gtm/sr_port/mu_int_maps.h

28 lines
1.4 KiB
C

/****************************************************************
* *
* Copyright 2001 Sanchez Computer Associates, Inc. *
* *
* This source code contains the intellectual property *
* of its copyright holder(s), and is made available *
* under a license. If you do not know the terms of *
* the license, please stop and do not read further. *
* *
****************************************************************/
#ifdef BIGENDIAN
static int mu_int_isfree_mask[16] = {0x1000000,0x4000000,0x10000000,0x40000000,
0x10000,0x40000,0x100000,0x400000,0x100,0x400,0x1000,0x4000,0x1,0x4,0x10,0x40};
static unsigned int mu_int_mask[16] = {0x3000000,0xc000000,0x30000000,0xc0000000,
0x30000,0xc0000,0x300000,0xc00000,0x300,0xc00,0x3000,0xc000,0x3,0xc,0x30,0xc0};
static unsigned int mu_int_isvalid_mask[16] = {0x2000000,0x8000000,0x20000000,0x80000000,
0x20000,0x80000,0x200000,0x800000,0x200,0x800,0x2000,0x8000,0x2,0x8,0x20,0x80};
#else
static int mu_int_isfree_mask[16] = {0x1,0x4,0x10,0x40,0x100,0x400,0x1000,0x4000,0x10000,
0x40000,0x100000,0x400000,0x1000000,0x4000000,0x10000000,0x40000000};
static int mu_int_mask[16] = {0x3,0xc,0x30,0xc0,0x300,0xc00,0x3000,0xc000,0x30000,
0xc0000,0x300000,0xc00000,0x3000000,0xc000000,0x30000000,0xc0000000};
static int mu_int_isvalid_mask[16] = {0x2,0x8,0x20,0x80,0x200,0x800,0x2000,0x8000,0x20000,
0x80000,0x200000,0x800000,0x2000000,0x8000000,0x20000000,0x80000000};
#endif