Mercurial > ecos
comparison packages/services/memalloc/common/current/src/heapgen.cpp @ 115:6ed91473a1cd ecos-sw-2000-08-21
Merge from eCos master repository on 2000-08-21-22:40:54-BST
| author | jlarmour |
|---|---|
| date | Fri, 25 Aug 2000 17:32:38 +0000 |
| parents | |
| children | e0c0827131d1 |
comparison
equal
deleted
inserted
replaced
| 114:5ad2b71d525e | 115:6ed91473a1cd |
|---|---|
| 1 /*======================================================================== | |
| 2 // | |
| 3 // heapgen.cpp | |
| 4 // | |
| 5 // Helper file for heapgen.tcl | |
| 6 // | |
| 7 //======================================================================== | |
| 8 //####COPYRIGHTBEGIN#### | |
| 9 // | |
| 10 // ------------------------------------------- | |
| 11 // The contents of this file are subject to the Red Hat eCos Public License | |
| 12 // Version 1.1 (the "License"); you may not use this file except in | |
| 13 // compliance with the License. You may obtain a copy of the License at | |
| 14 // http://www.redhat.com/ | |
| 15 // | |
| 16 // Software distributed under the License is distributed on an "AS IS" | |
| 17 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 18 // License for the specific language governing rights and limitations under | |
| 19 // the License. | |
| 20 // | |
| 21 // The Original Code is eCos - Embedded Configurable Operating System, | |
| 22 // released September 30, 1998. | |
| 23 // | |
| 24 // The Initial Developer of the Original Code is Red Hat. | |
| 25 // Portions created by Red Hat are | |
| 26 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 27 // All Rights Reserved. | |
| 28 // ------------------------------------------- | |
| 29 // | |
| 30 //####COPYRIGHTEND#### | |
| 31 //======================================================================== | |
| 32 //#####DESCRIPTIONBEGIN#### | |
| 33 // | |
| 34 // Author(s): jlarmour | |
| 35 // Contributors: | |
| 36 // Date: 2000-06-13 | |
| 37 // Purpose: Helper file for heapgen.tcl | |
| 38 // Description: Exports macros derived from the configuration so that | |
| 39 // they are visible to heapgen.tcl. This file is | |
| 40 // preprocessed by a make rule in the CDL to generate | |
| 41 // "heapgeninc.tcl" | |
| 42 // Note, this isn't a real C file. It is only to be | |
| 43 // preprocessed, not compiled | |
| 44 // Usage: | |
| 45 // | |
| 46 //####DESCRIPTIONEND#### | |
| 47 // | |
| 48 //======================================================================*/ | |
| 49 | |
| 50 #include <pkgconf/system.h> | |
| 51 #include <pkgconf/memalloc.h> | |
| 52 | |
| 53 #define STRINGIFY1(_x_) #_x_ | |
| 54 #define STRINGIFY(_x_) STRINGIFY1(_x_) | |
| 55 | |
| 56 set memlayout_h STRINGIFY(CYGHWR_MEMORY_LAYOUT_H) | |
| 57 set memlayout_ldi STRINGIFY(CYGHWR_MEMORY_LAYOUT_LDI) | |
| 58 set malloc_impl_h STRINGIFY(CYGBLD_MEMALLOC_MALLOC_IMPLEMENTATION_HEADER) | |
| 59 #define __MALLOC_IMPL_WANTED | |
| 60 #include CYGBLD_MEMALLOC_MALLOC_IMPLEMENTATION_HEADER | |
| 61 set malloc_impl_class STRINGIFY(CYGCLS_MEMALLOC_MALLOC_IMPL) | |
| 62 | |
| 63 /* EOF heapgen.cpp */ |
