From mboxrd@z Thu Jan 1 00:00:00 1970 From: Gary Thomas To: Perry Wang Cc: ecos-discuss@sourceware.cygnus.com Subject: RE: [ECOS] adding memory segment for AEB-1C Date: Fri, 17 Dec 1999 18:47:00 -0000 Message-id: References: X-SW-Source: 1999-12/msg00035.html On 18-Dec-99 Perry Wang wrote: > Hi, all. > > Sorry to repost the question but just in case everyone missed my question > earlier. > > Is there a "proper" way to add an additional mem segment to the sharp > processor in AEB-1C without changing the original hal_platform_setup.h? > > Basically I like to map my FPGA registers to e0000000 - e0010000 without > changing the eCos HAL source. > If you don't want to change the HAL then the best place to put this would be in your application code. I'd probably add it in 'cyg_start()', 'cyg_user_start()' or 'main()' based on which style of startup you are using.