You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 

25 lines
591 B

/*
* cs5536_io.h
* some basic access of msr read/write and gpio read/write.
* this access function only suitable before the virtual support module(VSM)
* working for some simple debugs.
*
* Author : jlliu <liujl@lemote.com>
* Date : 07-07-04
*
*/
#include <sys/linux/types.h>
/******************************************************************************/
/*
* rdmsr : read 64bits data from the cs5536 MSR register
*/
extern void _rdmsr(u32 msr, u32 *hi, u32 *lo);
/*
* wrmsr : write 64bits data to the cs5536 MSR register
*/
extern void _wrmsr(u32 msr, u32 hi, u32 lo);