From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c | 40 ++++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c (limited to 'ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c') diff --git a/ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c b/ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c new file mode 100644 index 00000000..664a5402 --- /dev/null +++ b/ANDROID_3.4.5/arch/ia64/hp/sim/hpsim_setup.c @@ -0,0 +1,40 @@ +/* + * Platform dependent support for HP simulator. + * + * Copyright (C) 1998, 1999, 2002 Hewlett-Packard Co + * David Mosberger-Tang + * Copyright (C) 1999 Vijay Chander + */ +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#include +#include +#include +#include +#include +#include +#include + +#include "hpsim_ssc.h" + +void +ia64_ctl_trace (long on) +{ + ia64_ssc(on, 0, 0, 0, SSC_CTL_TRACE); +} + +void __init +hpsim_setup (char **cmdline_p) +{ + ROOT_DEV = Root_SDA1; /* default to first SCSI drive */ + + simcons_register(); +} -- cgit