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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [newlib/] [libc/] [sys/] [sysnec810/] [sbrk.c] - Blame information for rev 207

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

Line No. Rev Author Line
1 207 jeremybenn
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.