Debian Codegraph @

util/inteltool/pcr.h

raw symbols SCIP
1 /* inteltool - dump all registers on an Intel CPU + chipset based system */
2 /* SPDX-License-Identifier: GPL-2.0-only */
3
4 #ifndef INTELTOOL_PCR_H
5 #define INTELTOOL_PCR_H 1
6
7 #include <stdint.h>
8 #include "inteltool.h"
9
10 #define SBBAR_SIZE (16 * MiB)
11 #define PCR_PORT_SIZE (64 * KiB)
12
13 uint32_t read_pcr32(uint8_t port, uint16_t offset);
14
15 void print_pcr_ports(struct pci_dev *sb, const uint8_t *ports, size_t count);
16
17 void pcr_init(struct pci_dev *sb);
18 void pcr_cleanup(void);
19
20 #endif