This is the mail archive of the
ecos-patches@sources.redhat.com
mailing list for the eCos project.
EDB7xxx - Add missing markers
- From: Gary Thomas <gary at mlbassoc dot com>
- To: eCos patches <ecos-patches at sources dot redhat dot com>
- Date: 13 Feb 2003 08:42:54 -0700
- Subject: EDB7xxx - Add missing markers
... to match the arch code usage.
Index: hal/arm/edb7xxx/current/ChangeLog
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/arm/edb7xxx/current/ChangeLog,v
retrieving revision 1.41
diff -u -5 -p -r1.41 ChangeLog
--- hal/arm/edb7xxx/current/ChangeLog 13 Feb 2003 14:34:41 -0000 1.41
+++ hal/arm/edb7xxx/current/ChangeLog 13 Feb 2003 15:41:55 -0000
@@ -1,7 +1,10 @@
2003-02-13 Gary Thomas <gary@mlbassoc.com>
+ * include/plf_io.h: Add CYG_MACRO_START/END markers to match
+ recent changes in arch code.
+
* cdl/hal_arm_edb7xxx.cdl: Builds without RedBoot+Linux-exec
were broken by recent changes.
2003-02-12 Gary Thomas <gary@mlbassoc.com>
Index: hal/arm/edb7xxx/current/include/plf_io.h
===================================================================
RCS file: /misc/cvsfiles/ecos/packages/hal/arm/edb7xxx/current/include/plf_io.h,v
retrieving revision 1.4
diff -u -5 -p -r1.4 plf_io.h
--- hal/arm/edb7xxx/current/include/plf_io.h 12 Feb 2003 21:05:24 -0000 1.4
+++ hal/arm/edb7xxx/current/include/plf_io.h 13 Feb 2003 15:39:33 -0000
@@ -66,19 +66,21 @@ extern unsigned long _edb7xxx_physical_a
#if defined(CYGPKG_REDBOOT_ARM_LINUX_EXEC) && defined(CYGHWR_HAL_ARM_EDB7XXX_VARIANT_EP7312)
#define _CYGHWR_LAYOUT_ONLY
#include <cyg/hal/hal_platform_setup.h>
// Describe memory layout for Linux
#define CYGHWR_REDBOOT_LINUX_ATAG_MEM(_p_) \
+ CYG_MACRO_START \
/* Next ATAG_MEM. */ \
_p_->hdr.size = (sizeof(struct tag_mem32) + sizeof(struct tag_header))/sizeof(long); \
_p_->hdr.tag = ATAG_MEM; \
/* Round up so there's only one bit set in the memory size. \
* Don't double it if it's already a power of two, though. \
*/ \
_p_->u.mem.size = 1<<hal_msbindex(CYGMEM_REGION_ram_SIZE); \
if (_p_->u.mem.size < CYGMEM_REGION_ram_SIZE) \
_p_->u.mem.size <<= 1; \
- _p_->u.mem.start = DRAM_PA_START;
+ _p_->u.mem.start = DRAM_PA_START; \
+ CYG_MACRO_END
#endif
#endif // CYGONCE_HAL_ARM_EDB7XXX_PLF_IO_H
// EOF plf_io.h
--
------------------------------------------------------------
Gary Thomas |
MLB Associates | Consulting for the
+1 (970) 229-1963 | Embedded world
http://www.mlbassoc.com/ |
email: <gary@mlbassoc.com> |
gpg: http://www.chez-thomas.org/gary/gpg_key.asc
------------------------------------------------------------