local_t void test_get_pwc_value(unsigned int object)
{
    unsigned int func = 0;
    int ret = 0;

    ret = get_pwc_switch_value(object, &func);

    printk("ret:%d func:0x%x\n", ret, func);
}
int bus_get_func_handle(unsigned int *func)
{
    return get_pwc_switch_value(MCA_OBJ_BUS, func);
}
int ddr_get_func_handle(unsigned int *func)
{
    return get_pwc_switch_value(MCA_OBJ_DDR, func);
}
int acpu_get_func_handle(unsigned int *func)
{
    return get_pwc_switch_value(MCA_OBJ_CPU, func);
}