Linux Kernel
3.7.1
|
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <fcntl.h>
#include <sys/ioctl.h>
#include <unistd.h>
#include <errno.h>
#include <stdint.h>
#include <stdbool.h>
#include <bits/wordsize.h>
#include <linux/mei.h>
Go to the source code of this file.
Data Structures | |
struct | mei |
struct | amt_unicode_string |
struct | amt_version_type |
struct | amt_version |
struct | amt_code_versions |
struct | amt_host_if_msg_header |
struct | amt_host_if_resp_header |
struct | amt_host_if |
Macros | |
#define | mei_msg(_me, fmt, ARGS...) |
#define | mei_err(_me, fmt, ARGS...) |
#define | AMT_MAJOR_VERSION 1 |
#define | AMT_MINOR_VERSION 1 |
#define | AMT_STATUS_SUCCESS 0x0 |
#define | AMT_STATUS_INTERNAL_ERROR 0x1 |
#define | AMT_STATUS_NOT_READY 0x2 |
#define | AMT_STATUS_INVALID_AMT_MODE 0x3 |
#define | AMT_STATUS_INVALID_MESSAGE_LENGTH 0x4 |
#define | AMT_STATUS_HOST_IF_EMPTY_RESPONSE 0x4000 |
#define | AMT_STATUS_SDK_RESOURCES 0x1004 |
#define | AMT_BIOS_VERSION_LEN 65 |
#define | AMT_VERSIONS_NUMBER 50 |
#define | AMT_UNICODE_STRING_LEN 20 |
#define | AMT_HOST_IF_CODE_VERSIONS_REQUEST 0x0400001A |
#define | AMT_HOST_IF_CODE_VERSIONS_RESPONSE 0x0480001A |
Functions | |
struct amt_unicode_string | __attribute__ ((packed)) |
int | main (int argc, char **argv) |
#define AMT_BIOS_VERSION_LEN 65 |
Definition at line 233 of file mei-amt-version.c.
#define AMT_HOST_IF_CODE_VERSIONS_REQUEST 0x0400001A |
Definition at line 278 of file mei-amt-version.c.
#define AMT_HOST_IF_CODE_VERSIONS_RESPONSE 0x0480001A |
Definition at line 279 of file mei-amt-version.c.
#define AMT_MAJOR_VERSION 1 |
Definition at line 220 of file mei-amt-version.c.
#define AMT_MINOR_VERSION 1 |
Definition at line 221 of file mei-amt-version.c.
#define AMT_STATUS_HOST_IF_EMPTY_RESPONSE 0x4000 |
Definition at line 229 of file mei-amt-version.c.
#define AMT_STATUS_INTERNAL_ERROR 0x1 |
Definition at line 224 of file mei-amt-version.c.
#define AMT_STATUS_INVALID_AMT_MODE 0x3 |
Definition at line 226 of file mei-amt-version.c.
#define AMT_STATUS_INVALID_MESSAGE_LENGTH 0x4 |
Definition at line 227 of file mei-amt-version.c.
#define AMT_STATUS_NOT_READY 0x2 |
Definition at line 225 of file mei-amt-version.c.
#define AMT_STATUS_SDK_RESOURCES 0x1004 |
Definition at line 230 of file mei-amt-version.c.
#define AMT_STATUS_SUCCESS 0x0 |
Definition at line 223 of file mei-amt-version.c.
#define AMT_UNICODE_STRING_LEN 20 |
Definition at line 235 of file mei-amt-version.c.
#define AMT_VERSIONS_NUMBER 50 |
Definition at line 234 of file mei-amt-version.c.
#define mei_err | ( | _me, | |
fmt, | |||
ARGS... | |||
) |
Definition at line 88 of file mei-amt-version.c.
#define mei_msg | ( | _me, | |
fmt, | |||
ARGS... | |||
) |
Definition at line 83 of file mei-amt-version.c.
|
read |
Definition at line 171 of file esd_usb2.c.
Definition at line 440 of file mei-amt-version.c.
u32 _reserved |
Definition at line 269 of file mei-amt-version.c.
uint8_t bios[AMT_BIOS_VERSION_LEN] |
Definition at line 257 of file mei-amt-version.c.
struct amt_host_if_msg_header CODE_VERSION_REQ |
Definition at line 281 of file mei-amt-version.c.
Definition at line 270 of file mei-amt-version.c.
uint32_t count |
Definition at line 258 of file mei-amt-version.c.
Definition at line 276 of file mei-amt-version.c.
struct amt_unicode_string description |
Definition at line 246 of file mei-amt-version.c.
Definition at line 274 of file mei-amt-version.c.
uint32_t length |
Definition at line 241 of file mei-amt-version.c.
u8 major |
Definition at line 251 of file mei-amt-version.c.
Definition at line 275 of file mei-amt-version.c.
u8 minor |
Definition at line 252 of file mei-amt-version.c.
Definition at line 275 of file mei-amt-version.c.
Definition at line 242 of file mei-amt-version.c.
struct amt_version version |
Definition at line 247 of file mei-amt-version.c.
struct amt_version_type versions[AMT_VERSIONS_NUMBER] |
Definition at line 259 of file mei-amt-version.c.