Project

General

Profile

Bug #11996

Milestone #11965: April Release - 201604A

Remove Conditional Compilation for Addressing

Added by Roger Tokarek over 3 years ago. Updated about 3 years ago.

Status:
Work in progress
Priority:
High
Assignee:
Category:
Hygiene
Start date:
03/20/2016
Due date:
% Done:

0%

Estimated time:
2.00 h
Duration:

Description

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.

History

#1 Updated by Roger Tokarek over 3 years ago

  • Subject changed from Remove Addressing Variants to Remove Conditional Compilation for Addressing
  • Estimated time set to 2.00 h
Possible Solutions
  1. Implement a switch tested against a startup script setting.
  2. Find out from Mike S. if there is an identifier in the kernel that can be checked.

#2 Updated by Roger Tokarek over 3 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).

#3 Updated by Roger Tokarek about 3 years ago

  • Status changed from New to Work in progress
  • Priority changed from Normal to High


Also available in: Atom PDF