text: /*
   * CDDL HEADER START
   *
   * The contents of this file are subject to the terms of the
   * Common Development and Distribution License (the "License").
   * You may not use this file except in compliance with the License.
   *
   * You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
   * or http://www.opensolaris.org/os/licensing.
   * See the License for the specific language governing permissions
   * and limitations under the License.
   *
   * When distributing Covered Code, include this CDDL HEADER in each
   * file and include the License file at usr/src/OPENSOLARIS.LICENSE.
   * If applicable, add the following below this CDDL HEADER, with the
   * fields enclosed by brackets "[]" replaced with your own identifying
   * information: Portions Copyright [yyyy] [name of copyright owner]
   *
   * CDDL HEADER END
   */
  /*
   * Copyright 2009 Sun Microsystems, Inc.  All rights reserved.
   * Use is subject to license terms.
   */
  
  #ifndef _TPM_DURATION_H_
  #define	_TPM_DURATION_H_
  
  typedef enum {
  	TPM_SHORT,		/* 0 */
  	TPM_MEDIUM,		/* 1 */
  	TPM_LONG,		/* 2 */
  	TPM_UNDEFINED,		/* 3 */
  } TPM_DURATION_T;
  
  /* TSC Ordinals */
  static const TPM_DURATION_T tpm_ords_duration[TPM_ORDINAL_MAX] = {
  	TPM_UNDEFINED,		/* 0 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 5 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 10 */
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_LONG,
  	TPM_LONG,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_LONG,
  	TPM_SHORT,		/* 20 */
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_SHORT,		/* 25 */
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_MEDIUM,		/* 30 */
  	TPM_LONG,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,		/* 35 */
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_MEDIUM,		/* 40 */
  	TPM_LONG,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,		/* 45 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_LONG,
  	TPM_MEDIUM,		/* 50 */
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 55 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_MEDIUM,		/* 60 */
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_MEDIUM,		/* 65 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 70 */
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 75 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_LONG,		/* 80 */
  	TPM_UNDEFINED,
  	TPM_MEDIUM,
  	TPM_LONG,
  	TPM_SHORT,
  	TPM_UNDEFINED,		/* 85 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 90 */
  	TPM_LONG,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,		/* 95 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_MEDIUM,		/* 100 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 105 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 110 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,		/* 115 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_LONG,		/* 120 */
  	TPM_LONG,
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_SHORT,
  	TPM_SHORT,		/* 125 */
  	TPM_SHORT,
  	TPM_LONG,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,		/* 130 */
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_UNDEFINED,		/* 135 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 140 */
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 145 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 150 */
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,		/* 155 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 160 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 165 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_LONG,		/* 170 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 175 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_MEDIUM,		/* 180 */
  	TPM_SHORT,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_MEDIUM,		/* 185 */
  	TPM_SHORT,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 190 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 195 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 200 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,
  	TPM_SHORT,		/* 205 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_MEDIUM,		/* 210 */
  	TPM_UNDEFINED,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_MEDIUM,
  	TPM_UNDEFINED,		/* 215 */
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,
  	TPM_SHORT,		/* 220 */
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_SHORT,
  	TPM_UNDEFINED,		/* 225 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 230 */
  	TPM_LONG,
  	TPM_MEDIUM,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 235 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 240 */
  	TPM_UNDEFINED,
  	TPM_MEDIUM,
  };
  
  /* TPM connection ordinals */
  static const uint8_t tsc_ords_duration[TSC_ORDINAL_MAX] = {
  	TPM_UNDEFINED,		/* 0 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,		/* 5 */
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_UNDEFINED,
  	TPM_SHORT,		/* 10 */
  	TPM_SHORT,
  };
  
  #endif /* _TPM_DURATION_H_ */
  