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

Subversion Repositories 1g_ethernet_dpi

[/] [1g_ethernet_dpi/] [trunk/] [sw/] [dev/] [test_main/] [src/] [xil_lib/] [xil_lib.h] - Blame information for rev 4

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 4 kuzmi4
#ifndef _XIL_LIB_H_
2
#define _XIL_LIB_H_
3
 
4
 
5
// custom funct:
6
void *xil_memset(void *s, int c, unsigned int count);
7
void *xil_memmove(void *d, const void *s, unsigned int count);
8
// libgloss (xil_malloc.c):
9
#ifndef MSIM
10
 void *xil_malloc(unsigned int nbytes);
11
 void xil_free(void *ap);
12
#else
13
 #include "stdlib.h"
14
 #define xil_malloc(x) malloc(x)
15
 #define xil_free(x) free(x)
16
#endif // MSIM
17
 
18
 
19
#endif   // _XIL_LIB_H_

powered by: WebSVN 2.1.0

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