29#define CMOS_DEFAULTS 0x0000
30#define CMOS_GET_SINGLETON 0x0001
31#define CMOS_GET_NEW 0x0002
32#define CMOS_UNIT_TEST_MODE 0x0004
33#define CMOS_NO_ERR_CLEAR 0x0008
36struct cmos_access_obj;
#define LIBSMBIOS_C_DLL_SPEC
Definition compat.h:48
#define EXTERN_C_BEGIN
Definition compat.h:55
#define EXTERN_C_END
Definition compat.h:56
int(* cmos_write_callback)(const struct cmos_access_obj *, bool, void *)
Definition cmos.h:48
LIBSMBIOS_C_DLL_SPEC struct cmos_access_obj * cmos_obj_factory(int flags,...)
LIBSMBIOS_C_DLL_SPEC void cmos_obj_register_write_callback(struct cmos_access_obj *, cmos_write_callback, void *, void(*destruct)(void *))
LIBSMBIOS_C_DLL_SPEC const char * cmos_obj_strerror(const struct cmos_access_obj *m)
LIBSMBIOS_C_DLL_SPEC int cmos_obj_run_callbacks(const struct cmos_access_obj *m, bool do_update)
LIBSMBIOS_C_DLL_SPEC void cmos_obj_free(struct cmos_access_obj *)
LIBSMBIOS_C_DLL_SPEC int cmos_obj_read_byte(const struct cmos_access_obj *, u8 *byte, u32 indexPort, u32 dataPort, u32 offset)
LIBSMBIOS_C_DLL_SPEC int cmos_obj_write_byte(const struct cmos_access_obj *, u8 byte, u32 indexPort, u32 dataPort, u32 offset)
unsigned int u32
Definition types.h:37
unsigned char u8
Definition types.h:29