openTRI 0.1
mem64.h
1/*
2PMP Mod
3Copyright (C) 2006 jonny
4
5Homepage: http://jonny.leffe.dnsalias.com
6E-mail: jonny@leffe.dnsalias.com
7
8This program is free software; you can redistribute it and/or modify
9it under the terms of the GNU General Public License as published by
10the Free Software Foundation; either version 2 of the License, or
11(at your option) any later version.
12
13This program is distributed in the hope that it will be useful,
14but WITHOUT ANY WARRANTY; without even the implied warranty of
15MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16GNU General Public License for more details.
17
18You should have received a copy of the GNU General Public License
19along with this program; if not, write to the Free Software
20Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
21*/
22
23/*
2464 bytes aligned malloc, with the me is crucial to well enclose data (due to cache)
25*/
26
27
28#ifndef mem64_h
29#define mem64_h
30
31
32#include <stdlib.h>
33#include <malloc.h>
34
35
36void *malloc_64(int size);
37void free_64(void *p);
38
39
40#endif