comparison packages/hal/powerpc/cogent/current/src/hal_aux.c @ 16:4f2df4ab82c8 ecos-sw-1999-06-18

Merge from eCos master repository on 1999-06-18-15:25:04-BST
author jlarmour
date Fri, 18 Jun 1999 07:59:09 +0000
parents
children c38311975d4f
comparison
equal deleted inserted replaced
15:c0d8793d9978 16:4f2df4ab82c8
1 //=============================================================================
2 //
3 // hal_aux.c
4 //
5 // HAL auxiliary objects and code; per platform
6 //
7 //=============================================================================
8 //####COPYRIGHTBEGIN####
9 //
10 // -------------------------------------------
11 // The contents of this file are subject to the Cygnus eCos Public License
12 // Version 1.0 (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://sourceware.cygnus.com/ecos
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 Cygnus Operating System, released
22 // September 30, 1998.
23 //
24 // The Initial Developer of the Original Code is Cygnus. Portions created
25 // by Cygnus are Copyright (C) 1998,1999 Cygnus Solutions. All Rights Reserved.
26 // -------------------------------------------
27 //
28 //####COPYRIGHTEND####
29 //=============================================================================
30 //#####DESCRIPTIONBEGIN####
31 //
32 // Author(s): hmt
33 // Contributors:hmt
34 // Date: 1999-06-08
35 // Purpose: HAL aux objects: startup tables.
36 // Description: Tables for per-platform initialization
37 //
38 //####DESCRIPTIONEND####
39 //
40 //=============================================================================
41
42 #include <pkgconf/hal.h>
43
44 #include <cyg/infra/cyg_type.h> // base types
45 #include <cyg/infra/cyg_trac.h> // tracing macros
46 #include <cyg/infra/cyg_ass.h> // assertion macros
47
48 #include <cyg/hal/hal_io.h> // IO macros
49 #include <cyg/hal/hal_diag.h>
50 #include <cyg/hal/hal_intr.h> // Interrupt macros
51 #include <cyg/hal/hal_cache.h> // Cache macros
52
53 // The memory map is weakly defined, allowing the application to redefine
54 // it if necessary. The regions defined below are the minimum requirements.
55 CYGARC_MEMDESC_TABLE CYGBLD_ATTRIB_WEAK = {
56 // Mapping for the Cogent CMA101/102 boards.
57 CYGARC_MEMDESC_NOCACHE( 0xfff00000, 0x00100000 ), // ROM region
58 CYGARC_MEMDESC_NOCACHE( 0xff000000, 0x00100000 ), // MCP registers
59 CYGARC_MEMDESC_NOCACHE( 0x0e000000, 0x01000000 ), // IO registers
60 CYGARC_MEMDESC_CACHE( 0x00000000, 0x00800000 ), // Main memory
61
62 CYGARC_MEMDESC_TABLE_END
63 };
64
65 // EOF hal_aux.c