Mercurial > ecos-v2_0-branch
changeset 480:cf40eb699ddf
Add support for non 1-1 mapped spaces.
| author | gthomas |
|---|---|
| date | Sat, 04 Jan 2003 03:37:12 +0000 |
| parents | 64c3467211ac |
| children | a8431517bdd1 |
| files | packages/hal/powerpc/arch/current/ChangeLog packages/hal/powerpc/arch/current/include/hal_mem.h |
| diffstat | 2 files changed, 9 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/packages/hal/powerpc/arch/current/ChangeLog +++ b/packages/hal/powerpc/arch/current/ChangeLog @@ -1,3 +1,8 @@ +2003-01-03 Gary Thomas <gary@mlbassoc.com> + + * include/hal_mem.h (CYGARC_MEMDESC_NOCACHE_PA): New macro which + allows defining non-cached space with non 1-1 mapping. + 2002-12-24 Gary Thomas <gary@mlbassoc.com> * src/vectors.S:
--- a/packages/hal/powerpc/arch/current/include/hal_mem.h +++ b/packages/hal/powerpc/arch/current/include/hal_mem.h @@ -12,6 +12,7 @@ // ------------------------------------------- // This file is part of eCos, the Embedded Configurable Operating System. // Copyright (C) 1998, 1999, 2000, 2001, 2002 Red Hat, Inc. +// Copyright (C) 2003 Gary Thomas // // eCos is free software; you can redistribute it and/or modify it under // the terms of the GNU General Public License as published by the Free @@ -93,6 +94,9 @@ externC cyg_memdesc_t cyg_hal_mem_map[]; #define CYGARC_MEMDESC_NOCACHE( _va_, _sz_ ) \ { (_va_), (_va_), (_sz_), CYGARC_MEMDESC_CI } +#define CYGARC_MEMDESC_NOCACHE_PA( _va_, _pa_, _sz_ ) \ + { (_va_), (_pa_), (_sz_), CYGARC_MEMDESC_CI } + #define CYGARC_MEMDESC_CACHEGUARD( _va_, _sz_ ) \ { (_va_), (_va_), (_sz_), CYGARC_MEMDESC_GUARDED }
