px_lib4u.h revision 073dbf9103ef2a2b05d8a16e2d26db04e0374b0e
2N/A * The contents of this file are subject to the terms of the 2N/A * Common Development and Distribution License (the "License"). 2N/A * You may not use this file except in compliance with the License. 2N/A * See the License for the specific language governing permissions 2N/A * and limitations under the License. 2N/A * When distributing Covered Code, include this CDDL HEADER in each 2N/A * If applicable, add the following below this CDDL HEADER, with the 2N/A * fields enclosed by brackets "[]" replaced with your own identifying 2N/A * information: Portions Copyright [yyyy] [name of copyright owner] 2N/A * Copyright 2007 Sun Microsystems, Inc. All rights reserved. 2N/A * Use is subject to license terms. 2N/A#
pragma ident "%Z%%M% %I% %E% SMI" 2N/A /* no translation exists */ 2N/A * Register base definitions. 2N/A * The specific numeric values for CSR, XBUS, Configuration, 2N/A * Interrupt blocks and other register bases. 2N/A * SUN4U px specific data structure. 2N/A/* Control block soft state structure */ /* sun4u specific vars */ * Event Queue data structure. * Upper 4 bits of eq_rec_fmt_type is used * to identify the EQ record type. * control register decoding /* tsb size: 0=1k 1=2k 2=4k 3=8k 4=16k 5=32k 6=64k 7=128k */ * For Fire mmu bypass addresses, bit 43 specifies cacheability. * For Oberon mmu bypass addresses, bit 47 specifies cacheability. * The following macros define the address ranges supported for DVMA * and mmu bypass transfers. For Oberon, bit 63 is used for ordering. * The following macros are for loading and unloading io tte #
define MMU_TTE_RO (
1ull <<
62)
/* Oberon Relaxed Ordering */#
define INO_BITS 6 /* INO#s are 6 bits long */#
define FIRE_IGN_MASK 0x1F /* IGN#s mask, 5 bits long for Fire */ * Defines for link width and max packet size for ACKBAK Latency Threshold Timer * and TxLink Replay Timer Latency Table array sizes * Num Link Width Packet Size * Defines for registers which have multi-bit fields. /* TLU Control register bits */ /* PX BDF Shift in a Phyiscal Address - used FMA Fabric only */ * Fire hardware specific version definitions. * All Fire versions > 2.0 will be numerically greater than FIRE_MOD_REV_20 * Oberon specific definitions. * HW specific paddr mask. #
endif /* _SYS_PX_LIB4U_H */