source: soft/giet_vm/libs/malloc.h @ 255

Last change on this file since 255 was 244, checked in by brejon, 11 years ago
  • Update malloc (remote free)
  • bugfix in spin_lock (bad register used in asm inline)
  • memo/Makefile clean rule : added "-f" option to rm command
  • main Makefile :
    • added spin_lock.o in dhrystone object files
    • added rules to compile spin_lock
File size: 687 bytes
Line 
1////////////////////////////////////////////////////////////////////////////
2// File     : malloc.h
3// Date     : 05/03/2013
4// Author   : Jean-Baptiste Bréjon
5// Copyright (c) UPMC-LIP6
6////////////////////////////////////////////////////////////////////////////
7
8#ifndef _MALLOC_H_
9#define _MALLOC_H_
10//#define DEBUG_MALLOC 1
11
12#include "giet_config.h"
13#include "spin_lock.h"
14
15//#define MALLOC_SELECTED 2
16
17void * malloc(unsigned int size);
18void free(void * ptr);
19
20
21#endif
22
23// Local Variables:
24// tab-width: 4
25// c-basic-offset: 4
26// c-file-offsets:((innamespace . 0)(inline-open . 0))
27// indent-tabs-mode: nil
28// End:
29// vim: filetype=c:expandtab:shiftwidth=4:tabstop=4:softtabstop=4
30
Note: See TracBrowser for help on using the repository browser.