OpenCores
URL https://opencores.org/ocsvn/1g_ethernet_dpi/1g_ethernet_dpi/trunk

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [tags/] [v0.0/] [sw/] [dev/] [test_main/] [src/] [xil_lib/] [xil_lib.h] - Rev 3

Compare with Previous | Blame | View Log

#ifndef _XIL_LIB_H_
#define _XIL_LIB_H_
 
 
// custom funct:
void *xil_memset(void *s, int c, unsigned int count);
void *xil_memmove(void *d, const void *s, unsigned int count);
// libgloss (xil_malloc.c):
#ifndef MSIM
 void *xil_malloc(unsigned int nbytes);
 void xil_free(void *ap);
#else
 #include "stdlib.h"
 #define xil_malloc(x) malloc(x)
 #define xil_free(x) free(x)
#endif // MSIM
 
 
#endif   // _XIL_LIB_H_
 

Compare with Previous | Blame | View Log

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.