added macro mapping function and showing parameter page name in device mode.