Mercurial > ecos
comparison packages/hal/powerpc/cogent/current/include/plf_cache.h @ 64:c38311975d4f ecos-sw-2000-01-28
Merge from eCos master repository on 2000-01-28-04:28:11-GMT
| author | jlarmour |
|---|---|
| date | Fri, 28 Jan 2000 04:59:39 +0000 |
| parents | |
| children | bf00f99aec69 |
comparison
equal
deleted
inserted
replaced
| 63:119e6e57c342 | 64:c38311975d4f |
|---|---|
| 1 #ifndef CYGONCE_PLF_CACHE_H | |
| 2 #define CYGONCE_PLF_CACHE_H | |
| 3 | |
| 4 //============================================================================= | |
| 5 // | |
| 6 // plf_cache.h | |
| 7 // | |
| 8 // Platform HAL cache details | |
| 9 // | |
| 10 //============================================================================= | |
| 11 //####COPYRIGHTBEGIN#### | |
| 12 // | |
| 13 // ------------------------------------------- | |
| 14 // The contents of this file are subject to the Red Hat eCos Public License | |
| 15 // Version 1.0 (the "License"); you may not use this file except in | |
| 16 // compliance with the License. You may obtain a copy of the License at | |
| 17 // http://sourceware.cygnus.com/ecos | |
| 18 // | |
| 19 // Software distributed under the License is distributed on an | |
| 20 // basis, WITHOUT WARRANTY OF ANY KIND, either express or implied. See the | |
| 21 // License for the specific language governing rights and limitations under | |
| 22 // the License. | |
| 23 // | |
| 24 // The Original Code is eCos - Embedded Configurable Operating System, | |
| 25 // released September 30, 1998. | |
| 26 // | |
| 27 // The Initial Developer of the Original Code is Red Hat. | |
| 28 // Portions created by Red Hat are | |
| 29 // Copyright (C) 1998, 1999, 2000 Red Hat, Inc. | |
| 30 // All Rights Reserved. | |
| 31 // ------------------------------------------- | |
| 32 // | |
| 33 //####COPYRIGHTEND#### | |
| 34 //============================================================================= | |
| 35 //#####DESCRIPTIONBEGIN#### | |
| 36 // | |
| 37 // Author(s): jskov | |
| 38 // Contributors:jskov | |
| 39 // Date: 2000-01-26 | |
| 40 // Purpose: Platform cache control API | |
| 41 // Description: The macros defined here provide the platform specific | |
| 42 // cache control operations / behavior. | |
| 43 // Usage: Is included via the architecture cache header: | |
| 44 // #include <cyg/hal/hal_cache.h> | |
| 45 // | |
| 46 //####DESCRIPTIONEND#### | |
| 47 // | |
| 48 //============================================================================= | |
| 49 | |
| 50 //--------------------------------------------------------------------------- | |
| 51 // Initial cache enabling | |
| 52 #define CYGPRI_INIT_CACHES 1 | |
| 53 #ifdef CYG_HAL_STARTUP_RAM // Don't enable caches in ROM | |
| 54 # define CYGPRI_ENABLE_CACHES 1 | |
| 55 #endif | |
| 56 | |
| 57 //----------------------------------------------------------------------------- | |
| 58 #endif // ifndef CYGONCE_PLF_CACHE_H | |
| 59 // End of plf_cache.h |
