OXIESEC PANEL
- Current Dir:
/
/
usr
/
src
/
linux-headers-4.15.0-213
/
include
/
xen
/
interface
/
io
Server IP: 139.59.38.164
Upload:
Create Dir:
Name
Size
Modified
Perms
📁
..
-
05/09/2024 07:14:16 AM
rwxr-xr-x
📄
9pfs.h
1.43 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
blkif.h
12.9 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
console.h
587 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
displif.h
39.03 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
fbif.h
4.48 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
kbdif.h
22.25 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
netif.h
34.08 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
pciif.h
3.52 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
protocols.h
697 bytes
01/28/2018 09:20:33 PM
rw-r--r--
📄
pvcalls.h
3.04 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
ring.h
23.2 KB
06/16/2023 05:32:39 PM
rw-r--r--
📄
sndif.h
34.89 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
tpmif.h
1.67 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
vscsiif.h
8.7 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xenbus.h
1.29 KB
01/28/2018 09:20:33 PM
rw-r--r--
📄
xs_wire.h
2.21 KB
01/28/2018 09:20:33 PM
rw-r--r--
Editing: tpmif.h
Close
/****************************************************************************** * tpmif.h * * TPM I/O interface for Xen guest OSes, v2 * * This file is in the public domain. * */ #ifndef __XEN_PUBLIC_IO_TPMIF_H__ #define __XEN_PUBLIC_IO_TPMIF_H__ /* * Xenbus state machine * * Device open: * 1. Both ends start in XenbusStateInitialising * 2. Backend transitions to InitWait (frontend does not wait on this step) * 3. Frontend populates ring-ref, event-channel, feature-protocol-v2 * 4. Frontend transitions to Initialised * 5. Backend maps grant and event channel, verifies feature-protocol-v2 * 6. Backend transitions to Connected * 7. Frontend verifies feature-protocol-v2, transitions to Connected * * Device close: * 1. State is changed to XenbusStateClosing * 2. Frontend transitions to Closed * 3. Backend unmaps grant and event, changes state to InitWait */ enum vtpm_shared_page_state { VTPM_STATE_IDLE, /* no contents / vTPM idle / cancel complete */ VTPM_STATE_SUBMIT, /* request ready / vTPM working */ VTPM_STATE_FINISH, /* response ready / vTPM idle */ VTPM_STATE_CANCEL, /* cancel requested / vTPM working */ }; /* The backend should only change state to IDLE or FINISH, while the * frontend should only change to SUBMIT or CANCEL. */ struct vtpm_shared_page { uint32_t length; /* request/response length in bytes */ uint8_t state; /* enum vtpm_shared_page_state */ uint8_t locality; /* for the current request */ uint8_t pad; uint8_t nr_extra_pages; /* extra pages for long packets; may be zero */ uint32_t extra_pages[0]; /* grant IDs; length in nr_extra_pages */ }; #endif