__ __ __ __ _____ _ _ _____ _ _ _ | \/ | \ \ / / | __ \ (_) | | / ____| | | | | | \ / |_ __\ V / | |__) | __ ___ ____ _| |_ ___ | (___ | |__ ___| | | | |\/| | '__|> < | ___/ '__| \ \ / / _` | __/ _ \ \___ \| '_ \ / _ \ | | | | | | |_ / . \ | | | | | |\ V / (_| | || __/ ____) | | | | __/ | | |_| |_|_(_)_/ \_\ |_| |_| |_| \_/ \__,_|\__\___| |_____/|_| |_|\___V 2.1 if you need WebShell for Seo everyday contact me on Telegram Telegram Address : @jackleetFor_More_Tools:
/******************************************************************************
* 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[]; /* grant IDs; length in nr_extra_pages */
};
#endif
| Name | Type | Size | Permission | Actions |
|---|---|---|---|---|
| 9pfs.h | File | 426 B | 0644 |
|
| blkif.h | File | 12.89 KB | 0644 |
|
| console.h | File | 583 B | 0644 |
|
| displif.h | File | 42.19 KB | 0644 |
|
| fbif.h | File | 3.46 KB | 0644 |
|
| kbdif.h | File | 22.69 KB | 0644 |
|
| netif.h | File | 33.74 KB | 0644 |
|
| pciif.h | File | 2.5 KB | 0644 |
|
| protocols.h | File | 693 B | 0644 |
|
| pvcalls.h | File | 3.08 KB | 0644 |
|
| ring.h | File | 22.53 KB | 0644 |
|
| sndif.h | File | 47.28 KB | 0644 |
|
| tpmif.h | File | 1.66 KB | 0644 |
|
| usbif.h | File | 16.49 KB | 0644 |
|
| vscsiif.h | File | 12.51 KB | 0644 |
|
| xenbus.h | File | 1.14 KB | 0644 |
|
| xs_wire.h | File | 3.3 KB | 0644 |
|