1 // SPDX-License-Identifier: GPL-2.0 2 /* 3 * Platform dependent support for HP simulator. 4 * 5 * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co 6 * David Mosberger-Tang <davidm@hpl.hp.com> 7 * Copyright (C) 1999 Vijay Chander <vijay@engr.sgi.com> 8 */ 9 #include <linux/console.h> 10 #include <linux/init.h> 11 #include <linux/kdev_t.h> 12 #include <linux/kernel.h> 13 #include <linux/major.h> 14 #include <linux/param.h> 15 #include <linux/root_dev.h> 16 #include <linux/string.h> 17 #include <linux/types.h> 18 19 #include <asm/delay.h> 20 #include <asm/irq.h> 21 #include <asm/pal.h> 22 #include <asm/machvec.h> 23 #include <asm/pgtable.h> 24 #include <asm/sal.h> 25 #include <asm/hpsim.h> 26 27 #include "hpsim_ssc.h" 28 29 void ia64_ctl_trace(long on)30ia64_ctl_trace (long on) 31 { 32 ia64_ssc(on, 0, 0, 0, SSC_CTL_TRACE); 33 } 34 35 void __init hpsim_setup(char ** cmdline_p)36hpsim_setup (char **cmdline_p) 37 { 38 ROOT_DEV = Root_SDA1; /* default to first SCSI drive */ 39 40 simcons_register(); 41 } 42