OpenCore  1.0.4
OpenCore Bootloader
Loading...
Searching...
No Matches
PttPtpRegs.h File Reference

Go to the source code of this file.

Macros

#define R_PTT_HCI_BASE_ADDRESS_A   0xFED40000
 
#define R_PTT_HCI_BASE_ADDRESS_B   0xFED70000
 
#define R_PTT_LOCALITY_STATE   0x00
 
#define R_TPM_LOCALITY_CONTROL   0X08
 
#define R_TPM_LOCALITY_STATUS   0x0C
 
#define R_TPM_INTERFACE_ID   0x30
 
#define R_CRB_CONTROL_EXT   0x38
 
#define R_CRB_CONTROL_REQ   0x40
 
#define R_CRB_CONTROL_STS   0x44
 
#define R_CRB_CONTROL_CANCEL   0x48
 
#define R_CRB_CONTROL_START   0x4C
 
#define R_CRB_CONTROL_INT   0x50
 
#define R_CRB_CONTROL_CMD_SIZE   0x58
 
#define R_CRB_CONTROL_CMD_LOW   0x5C
 
#define R_CRB_CONTROL_CMD_HIGH   0x60
 
#define R_CRB_CONTROL_RESPONSE_SIZE   0x64
 
#define R_CRB_CONTROL_RESPONSE_ADDR   0x68
 
#define B_CRB_CONTROL_STS_TPM_STATUS   0x00000001
 BIT0.
 
#define B_CRB_CONTROL_STS_TPM_IDLE   0x00000002
 BIT1.
 
#define B_R_CRB_CONTROL_REQ_COMMAND_READY   0x00000001
 BIT0.
 
#define B_R_CRB_CONTROL_REQ_GO_IDLE   0x00000002
 BIT1.
 
#define B_CRB_CONTROL_START   0x00000001
 BIT0.
 
#define B_CRB_LOCALITY_STS_GRANTED   0x00000001
 BIT0.
 
#define B_CRB_LOCALITY_STS_BEEN_SEIZED   0x00000002
 BIT1.
 
#define B_CRB_LOCALITY_CTL_REQUEST_ACCESS   0x00000001
 BIT0.
 
#define B_CRB_LOCALITY_CTL_RELINQUISH   0x00000002
 BIT1.
 
#define B_CRB_LOCALITY_CTL_SEIZE   0x00000004
 BIT2.
 
#define B_CRB_LOCALITY_STATE_TPM_ESTABLISHED   0x00000001
 BIT0.
 
#define B_CRB_LOCALITY_STATE_LOCALITY_ASSIGNED   0x00000002
 BIT1.
 
#define B_CRB_LOCALITY_STATE_REGISTER_VALID   0x00000080
 BIT7.
 
#define V_CRB_LOCALITY_STATE_ACTIVE_LOC_MASK   0x0000001C
 
#define V_PTT_HCI_COMMAND_AVAILABLE_START   0x00000001
 
#define V_PTT_HCI_COMMAND_AVAILABLE_CMD   0x00000000
 
#define V_PTT_HCI_BUFFER_ADDRESS_RDY   0x00000003
 
#define V_PTT_HCI_IGNORE_BITS   0x00000000
 
#define V_PTT_HCI_ALL_BITS_CLEAR   0xFFFFFFFF
 
#define V_PTT_HCI_START_CLEAR   0x00000001
 
#define S_PTT_HCI_CRB_LENGTH   3968
 0xFED40080:0xFED40FFF = 3968 Bytes
 

Detailed Description

Register definitions for PTT HCI (Platform Trust Technology - Host Controller Interface).

Conventions: Prefixes: Definitions beginning with "R_" are registers Definitions beginning with "B_" are bits within registers Definitions beginning with "V_" are meaningful values of bits within the registers Definitions beginning with "S_" are register sizes Definitions beginning with "N_" are the bit position

Copyright (c) 2012 - 2016, Intel Corporation. All rights reserved.

This program and the accompanying materials are licensed and made available under the terms and conditions of the BSD License which accompanies this distribution. The full text of the license may be found at http://opensource.org/licenses/bsd-license.php.

THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.

Definition in file PttPtpRegs.h.

Macro Definition Documentation

◆ B_CRB_CONTROL_START

#define B_CRB_CONTROL_START   0x00000001

BIT0.

Definition at line 67 of file PttPtpRegs.h.

◆ B_CRB_CONTROL_STS_TPM_IDLE

#define B_CRB_CONTROL_STS_TPM_IDLE   0x00000002

BIT1.

Definition at line 56 of file PttPtpRegs.h.

◆ B_CRB_CONTROL_STS_TPM_STATUS

#define B_CRB_CONTROL_STS_TPM_STATUS   0x00000001

BIT0.

Definition at line 55 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_CTL_RELINQUISH

#define B_CRB_LOCALITY_CTL_RELINQUISH   0x00000002

BIT1.

Definition at line 79 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_CTL_REQUEST_ACCESS

#define B_CRB_LOCALITY_CTL_REQUEST_ACCESS   0x00000001

BIT0.

Definition at line 78 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_CTL_SEIZE

#define B_CRB_LOCALITY_CTL_SEIZE   0x00000004

BIT2.

Definition at line 80 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_STATE_LOCALITY_ASSIGNED

#define B_CRB_LOCALITY_STATE_LOCALITY_ASSIGNED   0x00000002

BIT1.

Definition at line 86 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_STATE_REGISTER_VALID

#define B_CRB_LOCALITY_STATE_REGISTER_VALID   0x00000080

BIT7.

Definition at line 87 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_STATE_TPM_ESTABLISHED

#define B_CRB_LOCALITY_STATE_TPM_ESTABLISHED   0x00000001

BIT0.

Definition at line 85 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_STS_BEEN_SEIZED

#define B_CRB_LOCALITY_STS_BEEN_SEIZED   0x00000002

BIT1.

Definition at line 73 of file PttPtpRegs.h.

◆ B_CRB_LOCALITY_STS_GRANTED

#define B_CRB_LOCALITY_STS_GRANTED   0x00000001

BIT0.

Definition at line 72 of file PttPtpRegs.h.

◆ B_R_CRB_CONTROL_REQ_COMMAND_READY

#define B_R_CRB_CONTROL_REQ_COMMAND_READY   0x00000001

BIT0.

Definition at line 61 of file PttPtpRegs.h.

◆ B_R_CRB_CONTROL_REQ_GO_IDLE

#define B_R_CRB_CONTROL_REQ_GO_IDLE   0x00000002

BIT1.

Definition at line 62 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_CANCEL

#define R_CRB_CONTROL_CANCEL   0x48

Definition at line 43 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_CMD_HIGH

#define R_CRB_CONTROL_CMD_HIGH   0x60

Definition at line 48 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_CMD_LOW

#define R_CRB_CONTROL_CMD_LOW   0x5C

Definition at line 47 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_CMD_SIZE

#define R_CRB_CONTROL_CMD_SIZE   0x58

Definition at line 46 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_EXT

#define R_CRB_CONTROL_EXT   0x38

Definition at line 40 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_INT

#define R_CRB_CONTROL_INT   0x50

Definition at line 45 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_REQ

#define R_CRB_CONTROL_REQ   0x40

Definition at line 41 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_RESPONSE_ADDR

#define R_CRB_CONTROL_RESPONSE_ADDR   0x68

Definition at line 50 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_RESPONSE_SIZE

#define R_CRB_CONTROL_RESPONSE_SIZE   0x64

Definition at line 49 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_START

#define R_CRB_CONTROL_START   0x4C

Definition at line 44 of file PttPtpRegs.h.

◆ R_CRB_CONTROL_STS

#define R_CRB_CONTROL_STS   0x44

Definition at line 42 of file PttPtpRegs.h.

◆ R_PTT_HCI_BASE_ADDRESS_A

#define R_PTT_HCI_BASE_ADDRESS_A   0xFED40000

Definition at line 30 of file PttPtpRegs.h.

◆ R_PTT_HCI_BASE_ADDRESS_B

#define R_PTT_HCI_BASE_ADDRESS_B   0xFED70000

Definition at line 31 of file PttPtpRegs.h.

◆ R_PTT_LOCALITY_STATE

#define R_PTT_LOCALITY_STATE   0x00

Definition at line 36 of file PttPtpRegs.h.

◆ R_TPM_INTERFACE_ID

#define R_TPM_INTERFACE_ID   0x30

Definition at line 39 of file PttPtpRegs.h.

◆ R_TPM_LOCALITY_CONTROL

#define R_TPM_LOCALITY_CONTROL   0X08

Definition at line 37 of file PttPtpRegs.h.

◆ R_TPM_LOCALITY_STATUS

#define R_TPM_LOCALITY_STATUS   0x0C

Definition at line 38 of file PttPtpRegs.h.

◆ S_PTT_HCI_CRB_LENGTH

#define S_PTT_HCI_CRB_LENGTH   3968

0xFED40080:0xFED40FFF = 3968 Bytes

Definition at line 116 of file PttPtpRegs.h.

◆ V_CRB_LOCALITY_STATE_ACTIVE_LOC_MASK

#define V_CRB_LOCALITY_STATE_ACTIVE_LOC_MASK   0x0000001C

Definition at line 92 of file PttPtpRegs.h.

◆ V_PTT_HCI_ALL_BITS_CLEAR

#define V_PTT_HCI_ALL_BITS_CLEAR   0xFFFFFFFF

Definition at line 110 of file PttPtpRegs.h.

◆ V_PTT_HCI_BUFFER_ADDRESS_RDY

#define V_PTT_HCI_BUFFER_ADDRESS_RDY   0x00000003

Definition at line 100 of file PttPtpRegs.h.

◆ V_PTT_HCI_COMMAND_AVAILABLE_CMD

#define V_PTT_HCI_COMMAND_AVAILABLE_CMD   0x00000000

Definition at line 99 of file PttPtpRegs.h.

◆ V_PTT_HCI_COMMAND_AVAILABLE_START

#define V_PTT_HCI_COMMAND_AVAILABLE_START   0x00000001

Definition at line 98 of file PttPtpRegs.h.

◆ V_PTT_HCI_IGNORE_BITS

#define V_PTT_HCI_IGNORE_BITS   0x00000000

Definition at line 105 of file PttPtpRegs.h.

◆ V_PTT_HCI_START_CLEAR

#define V_PTT_HCI_START_CLEAR   0x00000001

Definition at line 111 of file PttPtpRegs.h.