From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 14670 invoked by alias); 28 Jan 2003 01:43:36 -0000 Mailing-List: contact ecos-discuss-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: ecos-discuss-owner@sources.redhat.com Received: (qmail 14644 invoked from network); 28 Jan 2003 01:43:35 -0000 Received: from unknown (HELO sd-exchange.sdesigns.com) (64.186.168.130) by 172.16.49.205 with SMTP; 28 Jan 2003 01:43:35 -0000 Received: by sd-exchange.sdesigns.com with Internet Mail Service (5.5.2653.19) id ; Mon, 27 Jan 2003 17:46:10 -0800 Message-ID: <9F77D654ED40B74CA79E5A60B97A087B0423E8@sd-exchange.sdesigns.com> From: Fabrice Gautier To: 'Gary Thomas' Cc: "Ecos-List (E-mail)" Date: Tue, 28 Jan 2003 04:07:00 -0000 MIME-Version: 1.0 Content-Type: text/plain Subject: RE: [ECOS] HAL macros and RTC X-SW-Source: 2003-01/txt/msg00362.txt.bz2 > -----Original Message----- > From: Gary Thomas [mailto:gary@mlbassoc.com] > Subject: Re: [ECOS] HAL macros and RTC > > > The platforms define CYGNUM_HAL_INTERRUPT_xxx and they are very > much platform specific. CYGNUM_HAL_INTERRUPT_RTC is the one > interrupt which must be defined by a platform for the heartbeat > clock/timer, thus the platform neutral name. > > Is this not how you expected it to work? Well, I was just suggesting to change the name of the macros, because i got confused. What make CYGNUM_HAL_INTERRUPT_RTC more platform neutral than say CYGNUM_HAL_INTERRUPT_UART0 and the others ? When I started my port, I listed my interrupt vectors and called them CYGNUM_HAL_INTERRUPT_xxx, and one of them is for an hardware Clock so i just named it CYGNUM_HAL_INTERRUPT_RTC. And then everything compiled fine and redboot runs, i didnt realized that CYGNUM_HAL_INTERRUPT_RTC was more special than the other CYGNUM_HAL_INTERRUPT_xxx until i tried to do multitasking. So thats why i'm suggestion another name like CYGNUM_KERNEL_RTC_VECTOR (or whatever is judged appropriate) maybe change the other names to CYGNUM_HAL_myarch_INTERRUPT_xxx (but they are many more)... But It's not that important... -- Before posting, please read the FAQ: http://sources.redhat.com/fom/ecos and search the list archive: http://sources.redhat.com/ml/ecos-discuss