/usr/src/redhat/BUILD/libsmbios-2.2.27/src/include/smbios_c/obj/cmos.h File Reference

#include "smbios_c/compat.h"
#include "smbios_c/types.h"

Go to the source code of this file.

Defines

#define CMOS_DEFAULTS   0x0000
#define CMOS_GET_SINGLETON   0x0001
#define CMOS_GET_NEW   0x0002
#define CMOS_UNIT_TEST_MODE   0x0004
#define CMOS_NO_ERR_CLEAR   0x0008

Typedefs

typedef int(*) cmos_write_callback (const struct cmos_access_obj *, bool, void *)

Functions

LIBSMBIOS_C_DLL_SPEC struct
cmos_access_obj * 
cmos_obj_factory (int flags,...)
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)
LIBSMBIOS_C_DLL_SPEC const
char * 
cmos_obj_strerror (const struct cmos_access_obj *m)
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 int cmos_obj_run_callbacks (const struct cmos_access_obj *m, bool do_update)


Define Documentation

#define CMOS_DEFAULTS   0x0000

#define CMOS_GET_NEW   0x0002

#define CMOS_GET_SINGLETON   0x0001

#define CMOS_NO_ERR_CLEAR   0x0008

#define CMOS_UNIT_TEST_MODE   0x0004


Typedef Documentation

typedef int(*) cmos_write_callback(const struct cmos_access_obj *, bool, void *)


Function Documentation

LIBSMBIOS_C_DLL_SPEC struct cmos_access_obj* cmos_obj_factory ( int  flags,
  ... 
)

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 void cmos_obj_register_write_callback ( struct cmos_access_obj *  ,
cmos_write_callback  ,
void *  ,
void(*)(void *)  destruct 
)

LIBSMBIOS_C_DLL_SPEC int cmos_obj_run_callbacks ( const struct cmos_access_obj *  m,
bool  do_update 
)

LIBSMBIOS_C_DLL_SPEC const char* cmos_obj_strerror ( const struct cmos_access_obj *  m  ) 

LIBSMBIOS_C_DLL_SPEC int cmos_obj_write_byte ( const struct cmos_access_obj *  ,
u8  byte,
u32  indexPort,
u32  dataPort,
u32  offset 
)


Generated on Fri May 25 17:05:54 2012 for libsmbios_c library by  doxygen 1.4.7