OpenCores
URL https://opencores.org/ocsvn/1664/1664/trunk

Subversion Repositories 1664

[/] [1664/] [trunk/] [c/] [linux/] [memoria_crese.c] - Blame information for rev 2

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 2 mrdmkg
#include "sospesifada.h"
2
 
3
void * memoria_crese(n1 *memoria, nN grandia)
4
{
5
 nN *mapa=(nN *)(memoria-sizeof(nN));
6
 n1 *remapa=mremap(mapa,*mapa,grandia+sizeof(nN),MREMAP_MAYMOVE);
7
 *(nN *)remapa=grandia;
8
 return remapa+sizeof(nN);
9
}

powered by: WebSVN 2.1.0

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