libsmbios_c library
|
Go to the source code of this file.
Defines | |
#define | MEMORY_DEFAULTS 0x0000 |
#define | MEMORY_GET_SINGLETON 0x0001 |
#define | MEMORY_GET_NEW 0x0002 |
#define | MEMORY_UNIT_TEST_MODE 0x0004 |
#define | MEMORY_NO_ERR_CLEAR 0x0008 |
Functions | |
LIBSMBIOS_C_DLL_SPEC struct memory_access_obj * | memory_obj_factory (int flags,...) |
LIBSMBIOS_C_DLL_SPEC void | memory_obj_free (struct memory_access_obj *) |
LIBSMBIOS_C_DLL_SPEC int | memory_obj_read (const struct memory_access_obj *, void *buffer, u64 offset, size_t length) |
LIBSMBIOS_C_DLL_SPEC int | memory_obj_write (const struct memory_access_obj *, void *buffer, u64 offset, size_t length) |
LIBSMBIOS_C_DLL_SPEC const char * | memory_obj_strerror (const struct memory_access_obj *m) |
LIBSMBIOS_C_DLL_SPEC s64 | memory_obj_search (const struct memory_access_obj *, const char *pat, size_t patlen, u64 start, u64 end, u64 stride) |
LIBSMBIOS_C_DLL_SPEC void | memory_obj_suggest_leave_open (struct memory_access_obj *) |
LIBSMBIOS_C_DLL_SPEC void | memory_obj_suggest_close (struct memory_access_obj *) |
LIBSMBIOS_C_DLL_SPEC bool | memory_obj_should_close (const struct memory_access_obj *) |
#define MEMORY_DEFAULTS 0x0000 |
#define MEMORY_GET_NEW 0x0002 |
#define MEMORY_GET_SINGLETON 0x0001 |
#define MEMORY_NO_ERR_CLEAR 0x0008 |
#define MEMORY_UNIT_TEST_MODE 0x0004 |
LIBSMBIOS_C_DLL_SPEC struct memory_access_obj* memory_obj_factory | ( | int | flags, |
... | |||
) | [read] |
LIBSMBIOS_C_DLL_SPEC void memory_obj_free | ( | struct memory_access_obj * | ) |
LIBSMBIOS_C_DLL_SPEC int memory_obj_read | ( | const struct memory_access_obj * | , |
void * | buffer, | ||
u64 | offset, | ||
size_t | length | ||
) |
LIBSMBIOS_C_DLL_SPEC s64 memory_obj_search | ( | const struct memory_access_obj * | , |
const char * | pat, | ||
size_t | patlen, | ||
u64 | start, | ||
u64 | end, | ||
u64 | stride | ||
) |
LIBSMBIOS_C_DLL_SPEC bool memory_obj_should_close | ( | const struct memory_access_obj * | ) |
LIBSMBIOS_C_DLL_SPEC const char* memory_obj_strerror | ( | const struct memory_access_obj * | m | ) |
LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_close | ( | struct memory_access_obj * | ) |
LIBSMBIOS_C_DLL_SPEC void memory_obj_suggest_leave_open | ( | struct memory_access_obj * | ) |
LIBSMBIOS_C_DLL_SPEC int memory_obj_write | ( | const struct memory_access_obj * | , |
void * | buffer, | ||
u64 | offset, | ||
size_t | length | ||
) |