7b3166dbc3
After my last patch we have a new header file for HP simulator use. Here's code to use it for stuff that used to have `extern' statements inline in the code. Functionality should not change with this patch. Signed-off-by: Peter Chubb <peterc@gelato.unsw.edu.au> Signed-off-by: Tony Luck <tony.luck@intel.com>
16 lines
337 B
C
16 lines
337 B
C
#ifndef _ASMIA64_HPSIM_H
|
|
#define _ASMIA64_HPSIM_H
|
|
|
|
#ifndef CONFIG_HP_SIMSERIAL_CONSOLE
|
|
static inline int simcons_register(void) { return 1; }
|
|
#else
|
|
int simcons_register(void);
|
|
#endif
|
|
|
|
struct tty_driver;
|
|
extern struct tty_driver *hp_simserial_driver;
|
|
|
|
void ia64_ssc_connect_irq(long intr, long irq);
|
|
void ia64_ctl_trace(long on);
|
|
|
|
#endif
|