tpm-interface.c (87cdfdd19aefcf639507ce96ae8f403539a8ba29) tpm-interface.c (fd3ec3663718e5f89fbcbc18a67885203fd914a1)
1/*
2 * Copyright (C) 2004 IBM Corporation
3 * Copyright (C) 2014 Intel Corporation
4 *
5 * Authors:
6 * Leendert van Doorn <leendert@watson.ibm.com>
7 * Dave Safford <safford@watson.ibm.com>
8 * Reiner Sailer <sailer@watson.ibm.com>

--- 16 unchanged lines hidden (view full) ---

25 */
26
27#include <linux/poll.h>
28#include <linux/slab.h>
29#include <linux/mutex.h>
30#include <linux/spinlock.h>
31#include <linux/freezer.h>
32#include <linux/pm_runtime.h>
1/*
2 * Copyright (C) 2004 IBM Corporation
3 * Copyright (C) 2014 Intel Corporation
4 *
5 * Authors:
6 * Leendert van Doorn <leendert@watson.ibm.com>
7 * Dave Safford <safford@watson.ibm.com>
8 * Reiner Sailer <sailer@watson.ibm.com>

--- 16 unchanged lines hidden (view full) ---

25 */
26
27#include <linux/poll.h>
28#include <linux/slab.h>
29#include <linux/mutex.h>
30#include <linux/spinlock.h>
31#include <linux/freezer.h>
32#include <linux/pm_runtime.h>
33#include <linux/tpm_eventlog.h>
33
34#include "tpm.h"
34
35#include "tpm.h"
35#include "tpm_eventlog.h"
36
37#define TPM_MAX_ORDINAL 243
38#define TSC_MAX_ORDINAL 12
39#define TPM_PROTECTED_COMMAND 0x00
40#define TPM_CONNECTION_COMMAND 0x40
41
42/*
43 * Bug workaround - some TPM's don't flush the most

--- 1242 unchanged lines hidden ---
36
37#define TPM_MAX_ORDINAL 243
38#define TSC_MAX_ORDINAL 12
39#define TPM_PROTECTED_COMMAND 0x00
40#define TPM_CONNECTION_COMMAND 0x40
41
42/*
43 * Bug workaround - some TPM's don't flush the most

--- 1242 unchanged lines hidden ---