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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [newlib/] [newlib/] [libc/] [sys/] [sysnec810/] [sbrk.c] - Blame information for rev 1773

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 39 lampret
extern int _end;
2
 
3
static char *end_of_data = (char *) &_end;
4
 
5
char *
6
_sbrk (int delta) {
7
        char *ptr = end_of_data;
8
 
9
        end_of_data += delta;
10
        return ptr;
11
}
12
 

powered by: WebSVN 2.1.0

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