openbcm

Git mirror of https://github.com/Broadcom-Network-Switching-Software/OpenBCM
git clone git://git.finwo.net/mirror/broadcom/openbcm
Log | Files | Refs | README

portmod_system.h (471B)


      1 /*
      2  *         
      3  * 
      4  * 
      5  * This license is set out in https://raw.githubusercontent.com/Broadcom-Network-Switching-Software/OpenBCM/master/Legal/LICENSE file.
      6  * 
      7  * Copyright 2007-2019 Broadcom Inc. All rights reserved.
      8  */
      9 
     10 #ifndef _PORTMOD_SYSTEM_H_
     11 #define _PORTMOD_SYSTEM_H_
     12 
     13 int portmod_sys_get_endian(int unit, int *endian);
     14 void* portmod_sys_dma_alloc(int unit, int size, char *name);
     15 void portmod_sys_dma_free(int unit, void *ptr);
     16 
     17 #endif /*_PORTMOD_SYSTEM_H_*/