Milestone #11965: April Release - 201604A
Remove Conditional Compilation for Addressing
Variants are used to determine which implementation of VmeAxToLocal() should be used. If the target of the compilation is a Motorola processor we use VmeA32ToLocal(). if the target is an Artesyn processor we use VmeA32ToLocalArtesyn(). If we replace one type of processor in a crate we need to remember to recompile for the new processor.
#1 Updated by Roger Tokarek almost 5 years ago
- Subject changed from Remove Addressing Variants to Remove Conditional Compilation for Addressing
- Estimated time set to 2.00 h
- Implement a switch tested against a startup script setting.
- Find out from Mike S. if there is an identifier in the kernel that can be checked.
#2 Updated by Roger Tokarek almost 5 years ago
Conversation with Mike S. Mike suggested that since the A32 bus address is different for the Motorola and Artesyn boards that we test each against the status return of sysBusToLocalAdrs(). Motorola board A32 base address is 0x0 (confirm) and the Artesyn A32 base address is 0x8000000 (confirm).