1 /* inteltool - dump all registers on an Intel CPU + chipset based system */
2 /* SPDX-License-Identifier: GPL-2.0-only */
4 #ifndef INTELTOOL_PCR_H
5 #define INTELTOOL_PCR_H 1
10 #define SBBAR_SIZE (16 * MiB)
11 #define PCR_PORT_SIZE (64 * KiB)
13 uint32_t read_pcr32(uint8_t port
, uint16_t offset
);
15 void print_pcr_ports(struct pci_dev
*sb
, const uint8_t *ports
, size_t count
);
17 void pcr_init(struct pci_dev
*sb
);
18 void pcr_cleanup(void);