#include "xfstk-dldr-api_global.h"
#include <iostream>
Go to the source code of this file.
|
| struct | LastError |
| | The last error happened during download. More...
|
| |
| struct | SoCDevice |
| | data struct for port mapping API More...
|
| |
| struct | SoCDevices |
| | data struct for port info for all the devices connected to host More...
|
| |
| class | xfstkdldrapi |
| | This interface enables the development of Intel SoC firmware/operating system provisioning applications. This API is not re-entrant. More...
|
| |
|
| typedef void(* | xfstkstatuspfn )(char *status, void *) |
| | Represents an optional status callback function that can be provided to xfstk API to obtain status information. More...
|
| |
device type
Intel SOC device type with different PID
- Parameters
-
- Note
- None
| #define CLOVERVIEWPLUS 0x4 |
| #define MEDFIELD_EMMC_DUMP 0x6 |
| #define XFSTK_MAXDEVICE 0xB |
| #define XFSTK_NODEVICE 0x666 |
Log levels for the callback, set the bit to 1 if you want the API to log the message.
recommend at least to include LOG_STATUS and LOG_PROGRESS
- Parameters
-
- Note
- None
| #define LOG_UPDATE 0x0002 |
| #define LOG_OPCODE 0x0004 |
| #define LOG_FWUPGRADE 0x0008 |
| #define LOG_SOCKET 0x0040 |
| #define LOG_SERIAL 0x0080 |
| #define LOG_DOWNLOADER 0x0200 |
| #define LOG_STATUS 0x0800 |
| #define LOG_PROGRESS 0x1000 |
| #define DEBUG_ERROR 0xfffffff1 |
| #define LOG_ALL 0xffffffff |
| #define MAX_USBSN_LENGTH 128 |
Represents an optional status callback function that can be provided to xfstk API to obtain status information.
| XFSTKDLDRAPISHARED_EXPORT xfstkdldrapi* xfstkdldrapi_alloc |
( |
| ) |
|
| XFSTKDLDRAPISHARED_EXPORT void xfstkdldrapi_dealloc |
( |
xfstkdldrapi * |
obj | ) |
|