Mercurial > ecos-v3_0-branch
annotate packages/hal/coldfire/arch/current/include/hal_cache.h @ 2201:a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
serial driver.
| author | asl |
|---|---|
| date | Tue, 09 May 2006 16:53:03 +0000 |
| parents | |
| children | 74dbf4c3f2e1 |
| rev | line source |
|---|---|
|
2201
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
1 #ifndef CYGONCE_HAL_CACHE_H |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
2 #define CYGONCE_HAL_CACHE_H |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
3 |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
4 //============================================================================= |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
5 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
6 // hal_cache.h |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
7 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
8 // HAL cache control API |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
9 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
10 //============================================================================= |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
11 //####ECOSGPLCOPYRIGHTBEGIN#### |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
12 // ------------------------------------------- |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
13 // This file is part of eCos, the Embedded Configurable Operating System. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
14 // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
15 // Copyright (C) eCosCentric Ltd. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
16 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
17 // eCos is free software; you can redistribute it and/or modify it under |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
18 // the terms of the GNU General Public License as published by the Free |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
19 // Software Foundation; either version 2 or (at your option) any later version. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
20 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
21 // eCos is distributed in the hope that it will be useful, but WITHOUT ANY |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
22 // WARRANTY; without even the implied warranty of MERCHANTABILITY or |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
23 // FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
24 // for more details. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
25 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
26 // You should have received a copy of the GNU General Public License along |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
27 // with eCos; if not, write to the Free Software Foundation, Inc., |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
28 // 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
29 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
30 // As a special exception, if other files instantiate templates or use macros |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
31 // or inline functions from this file, or you compile this file and link it |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
32 // with other works to produce a work based on this file, this file does not |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
33 // by itself cause the resulting work to be covered by the GNU General Public |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
34 // License. However the source code for this file must still be made available |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
35 // in accordance with section (3) of the GNU General Public License. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
36 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
37 // This exception does not invalidate any other reasons why a work based on |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
38 // this file might be covered by the GNU General Public License. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
39 // ------------------------------------------- |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
40 //####ECOSGPLCOPYRIGHTEND#### |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
41 //============================================================================= |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
42 //#####DESCRIPTIONBEGIN#### |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
43 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
44 // Author(s): Enrico Piria |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
45 // Contributors: |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
46 // Date: 2005-25-06 |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
47 // Purpose: Provide ColdFire-specific cache control definitions. |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
48 // Usage: #include <cyg/hal/hal_cache.h> |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
49 // |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
50 //####DESCRIPTIONEND#### |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
51 //======================================================================== |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
52 |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
53 #include <pkgconf/hal.h> |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
54 #include <cyg/infra/cyg_type.h> |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
55 |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
56 #include <cyg/hal/var_cache.h> |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
57 |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
58 // --------------------------------------------------------------------------- |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
59 // End of hal_cache.h |
|
a62600d0e7b5
Import of the new ColdFire architecture HAL and M52272C port, with
asl
parents:
diff
changeset
|
60 #endif // ifndef CYGONCE_HAL_CACHE_H |
