Changeset 44e514f in rtems


Ignore:
Timestamp:
Feb 10, 2015, 3:28:03 PM (5 years ago)
Author:
Daniel Hellstrom <daniel@…>
Branches:
4.11, master
Children:
be815e7
Parents:
3f38335b
git-author:
Daniel Hellstrom <daniel@…> (02/10/15 15:28:03)
git-committer:
Daniel Hellstrom <daniel@…> (04/16/15 23:10:23)
Message:

LEON: B1553RT driver warnings fixes

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

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/1553/b1553rt.c

    r3f38335b r44e514f  
    319319             * 4k DMA memory + 4k for alignment
    320320             */
    321             mem = (char *)malloc(4 * 1024 * 2);
     321            mem = (unsigned int)malloc(4 * 1024 * 2);
    322322            if ( !mem ){
    323323                printk("RT: Failed to allocate HW memory\n\r");
     
    836836{
    837837    rt_priv *pDev = dev->priv;
    838     struct amba_dev_info *devinfo;
    839 
    840     devinfo = (struct amba_dev_info *)pDev->dev->businfo;
    841838
    842839    /* Print */
  • c/src/lib/libbsp/sparc/shared/include/b1553rt.h

    r3f38335b r44e514f  
    1111#ifndef __B1553RT_H__
    1212#define __B1553RT_H__
     13
     14#include <drvmgr/drvmgr.h>
    1315
    1416#ifdef __cplusplus
     
    6567#define RT_TSW_WC   (1<<5)
    6668
     69void b1553rt_print_dev(struct drvmgr_dev *dev, int options);
     70void b1553rt_print(int options);
     71
    6772void b1553rt_register_drv(void);
    6873
Note: See TracChangeset for help on using the changeset viewer.