
user/boa/src/dni/board.c 
user/boa/src/dni/board.c 
user/boa/src/dni/board.c 
// nvram example 
exampleParam_t exampleParamDefault[1] = 
{ 
        { 
                "What is the meaning of life, the universe, and 
everything?", 
                42 
        } 
}; 
exampleParam_t                  ramExampleParam;  //nvram example 
uint32 example_init(void) 
{ 
        /* read cfg from cfgmgr */ 
        if (cfgmgr_read(CFGMGR_TABID_EXAMPLE, \ 
            (void*)&(pRomeCfgParam->exampleParam), \ 
            sizeof(struct exampleParam_t))!=0) 
        { 
                printf("example_init: call cfgmgr_read fail\n"); 
                /* take proper actions */ 
                return NOT_OK; 
        } 
        //printf("example_init\n"); 
        return OK; 
} /* end example_init */