This is the mail archive of the
ecos-discuss@sourceware.cygnus.com
mailing list for the eCos project.
Re: Where to define CYG_HAL_POWERPC_MPC823?
- To: Jonathan Larmour <jlarmour at redhat dot co dot uk>
- Subject: Re: [ECOS] Where to define CYG_HAL_POWERPC_MPC823?
- From: Jesper Skov <jskov at redhat dot com>
- Date: 02 Mar 2000 10:01:09 +0100
- Cc: Kenneth Porter <kenneth_porter at kensingtonlabs dot com>, eCos Discuss <ecos-discuss at sourceware dot cygnus dot com>
- References: <200003011612.IAA22027@smtp.kensingtonlabs.com> <38BD50D1.7E7B71A0@redhat.co.uk>
>>>>> "Jonathan" == Jonathan Larmour <jlarmour@redhat.co.uk> writes:
Jonathan> Kenneth Porter wrote:
>> I don't see anywhere in the Windows config tool where one selects
>> the PowerPC variant to configure for. Where's the right place to
>> put this? (My current target is an MPC823FADS.) I'm guessing that
>> I should put it in Build | Options, under Package "PowerPC
>> architecture", but this looks like something that should have its
>> own config menu.
Jonathan> It depends on the context, but if something is looking for
Jonathan> this, it may be intended to be CYGPKG_HAL_POWERPC_MPC8xx
Jonathan> (defined in hal/powerpc/mpc8xx these days).
Something like the below should do the trick.
Jesper
Index: include/pkgconf/hal_powerpc_mpc8xx.h
===================================================================
RCS file: /local/cvsfiles/ecc/ecc/hal/powerpc/mpc8xx/current/include/pkgconf/hal_powerpc_mpc8xx.h,v
retrieving revision 1.3
diff -u -5 -r1.3 hal_powerpc_mpc8xx.h
--- include/pkgconf/hal_powerpc_mpc8xx.h 2000/02/18 15:21:17 1.3
+++ include/pkgconf/hal_powerpc_mpc8xx.h 2000/03/02 08:28:44
@@ -60,10 +60,32 @@
The MPC8xx architecture HAL package provides generic support
for this processor architecture. It is also necessary to
select a specific target platform HAL package."
}
+ cdl_option CYGPKG_HAL_POWERPC_MPC823 {
+ display "MPC823 microprocessor"
+ parent CYGPKG_HAL_POWERPC_MPC8xx
+ type radio
+ description "
+ The MPC823 microprocessor. This is an embedded part that in
+ addition to the PowerPC processor core has built in peripherals
+ such as memory controllers, DMA controllers, serial ports and
+ timers/counters."
+ }
+
+ cdl_option CYGPKG_HAL_POWERPC_MPC850 {
+ display "MPC850 microprocessor"
+ parent CYGPKG_HAL_POWERPC_MPC8xx
+ type radio
+ description "
+ The MPC850 microprocessor. This is an embedded part that in
+ addition to the PowerPC processor core has built in peripherals
+ such as memory controllers, DMA controllers, serial ports and
+ timers/counters."
+ }
+
cdl_option CYGPKG_HAL_POWERPC_MPC860 {
display "MPC860 microprocessor"
parent CYGPKG_HAL_POWERPC_MPC8xx
type radio
description "
@@ -71,10 +93,11 @@
addition to the PowerPC processor core has built in peripherals
such as memory controllers, DMA controllers, serial ports and
timers/counters."
}
+
cdl_component CYGSEM_HAL_POWERPC_MPC860_CPM_ENABLE {
display "Enable CPM interrupts"
parent CYGPKG_HAL_POWERPC_MPC860
type boolean
description "
@@ -95,10 +118,12 @@
should be routed to."
}
}}CFG_DATA */
+#undef CYGPKG_HAL_POWERPC_MPC823
+#undef CYGPKG_HAL_POWERPC_MPC850
#define CYGPKG_HAL_POWERPC_MPC860
// -------------------------------------------------------------------
// Characterize the CPU so that the generic architecture part can
// configure itself.