Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(203)

Side by Side Diff: src/include/tddl.h

Issue 3581012: Upgrade from trousers 0.3.3 to 0.3.6 and from testsuite 0.2 to 0.3. (Closed) Base URL: ssh://git@gitrw.chromium.org:9222/trousers.git
Patch Set: git cl push Created 10 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « src/include/tcsd.h ('k') | src/include/threads.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 1
2 /* 2 /*
3 * Licensed Materials - Property of IBM 3 * Licensed Materials - Property of IBM
4 * 4 *
5 * trousers - An open source TCG Software Stack 5 * trousers - An open source TCG Software Stack
6 * 6 *
7 * (C) Copyright International Business Machines Corp. 2004, 2005 7 * (C) Copyright International Business Machines Corp. 2004, 2005
8 * 8 *
9 */ 9 */
10 10
11 11
12 #ifndef _TDDL_H_ 12 #ifndef _TDDL_H_
13 #define _TDDL_H_ 13 #define _TDDL_H_
14 14
15 #include <threads.h>
16 #include "tcsd_wrap.h"
17 #include "tcsd.h"
18
15 struct tpm_device_node { 19 struct tpm_device_node {
16 char *path; 20 char *path;
17 #define TDDL_TRANSMIT_IOCTL 1 21 #define TDDL_TRANSMIT_IOCTL 1
18 #define TDDL_TRANSMIT_RW 2 22 #define TDDL_TRANSMIT_RW 2
19 int transmit; 23 int transmit;
20 int fd; 24 int fd;
21 }; 25 };
22 26
23 #define TDDL_TXBUF_SIZE 2048 27 #define TDDL_TXBUF_SIZE 2048
24 #define TDDL_UNDEF -1 28 #define TDDL_UNDEF -1
25 29
26 TSS_RESULT Tddli_Open(void); 30 TSS_RESULT Tddli_Open(void);
27 31
28 TSS_RESULT Tddli_TransmitData(BYTE *pTransmitBuf, 32 TSS_RESULT Tddli_TransmitData(BYTE *pTransmitBuf,
29 UINT32 TransmitBufLen, 33 UINT32 TransmitBufLen,
30 BYTE *pReceiveBuf, 34 BYTE *pReceiveBuf,
31 UINT32 *pReceiveBufLen); 35 UINT32 *pReceiveBufLen);
32 36
33 TSS_RESULT Tddli_Close(void); 37 TSS_RESULT Tddli_Close(void);
34 38
35 #endif 39 #endif
OLDNEW
« no previous file with comments | « src/include/tcsd.h ('k') | src/include/threads.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698