Changeset 60d392b7 in rtems


Ignore:
Timestamp:
Feb 11, 2015, 8:19:53 AM (4 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
3823f5c
Parents:
e21a5b0
git-author:
Daniel Hellstrom <daniel@…> (02/11/15 08:19:53)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:23)
Message:

GRTM: fix build warnings

Location:
c/src/lib/libbsp/sparc/shared
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/include/grtm.h

    re21a5b0 r60d392b7  
    236236void grtm_register_drv(void);
    237237
     238/* Register GRTM RMAP driver at driver manager */
     239void grtm_rmap_register_drv (void);
     240
    238241#ifdef __cplusplus
    239242}
  • c/src/lib/libbsp/sparc/shared/tmtc/grtm.c

    re21a5b0 r60d392b7  
    650650}
    651651
    652 #warning Extra: Implement proper default calculation from hardware configuration
     652
     653/* TODO: Implement proper default calculation from hardware configuration */
    653654static void grtm_hw_get_default_modes(struct grtm_ioc_config *cfg, struct grtm_ioc_hw *hwcfg)
    654655{
     
    10951096                        drvmgr_translate(pDev->dev, CPUMEM_TO_DMA, (void *)curr_frm->payload, (void **)&curr_bd->bd->address);
    10961097                        if ( curr_frm->flags & GRTM_FLAGS_TRANSLATE_AND_REMEMBER ) {
    1097                                 if ( curr_frm->payload != curr_bd->bd->address ) {
     1098                                if ( curr_frm->payload != (unsigned int *)curr_bd->bd->address ) {
    10981099                                        /* Translation needed */
    10991100                                        curr_frm->flags &= ~GRTM_FLAGS_TRANSLATE_AND_REMEMBER;
     
    13141315                /* We disable interrupt in order to get a snapshot of the registers */
    13151316                IRQ_GLOBAL_DISABLE(oldLevel);
    1316 #warning IMPLEMENT HWREGS
     1317/* TODO: implement hwregs */
    13171318                IRQ_GLOBAL_ENABLE(oldLevel);
    13181319                break;
     
    15651566
    15661567        }
    1567 
     1568#if 0
    15681569procceed_processing_interrupts:
    15691570        ;
     1571#endif
    15701572}
    15711573
Note: See TracChangeset for help on using the changeset viewer.