ppb_msq.h (24ef1eb1432b587d5c88706e50485f012ca9dfda) ppb_msq.h (bc35c17446fab005a7e11b67b9004736f1c8498b)
1/*-
2 * Copyright (c) 1998 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
1/*-
2 * Copyright (c) 1998 Nicolas Souchu
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions
7 * are met:
8 * 1. Redistributions of source code must retain the above copyright

--- 9 unchanged lines hidden (view full) ---

18 * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
19 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
20 * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
21 * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
22 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
23 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
24 * SUCH DAMAGE.
25 *
26 * $Id: ppb_msq.h,v 1.1.2.7 1998/06/20 19:03:47 son Exp $
26 * $Id: ppb_msq.h,v 1.2 1998/09/13 18:26:26 nsouch Exp $
27 *
28 */
29#ifndef __PPB_MSQ_H
30#define __PPB_MSQ_H
31
32/*
33 * Basic definitions
34 */
35
36/* microsequence parameter descriptor */
27 *
28 */
29#ifndef __PPB_MSQ_H
30#define __PPB_MSQ_H
31
32/*
33 * Basic definitions
34 */
35
36/* microsequence parameter descriptor */
37#define MS_INS_MASK 0x00ff /* mask to retrieve the instruction position */
37#define MS_INS_MASK 0x00ff /* mask to retrieve the instruction position < 256 XXX */
38#define MS_ARG_MASK 0x0f00 /* mask to retrieve the argument number */
39#define MS_TYP_MASK 0xf000 /* mask to retrieve the type of the param */
40
41/* offset of each mask (see above) */
42#define MS_INS_OFFSET 0
43#define MS_ARG_OFFSET 8
44#define MS_TYP_OFFSET 12
45

--- 155 unchanged lines hidden ---
38#define MS_ARG_MASK 0x0f00 /* mask to retrieve the argument number */
39#define MS_TYP_MASK 0xf000 /* mask to retrieve the type of the param */
40
41/* offset of each mask (see above) */
42#define MS_INS_OFFSET 0
43#define MS_ARG_OFFSET 8
44#define MS_TYP_OFFSET 12
45

--- 155 unchanged lines hidden ---