Module Name:    src
Committed By:   christos
Date:           Fri May 13 13:40:56 UTC 2016

Modified Files:
        src/sys/arch/ia64/ia64: ssc.c

Log Message:
>From scole_mail:
So here is a patch to get basic ski console output working.  The ski
simulator was decoding the wrong registers in ssccnputc() due to
automagically inlined ssc() which contains a "break" simulated system
call.

The ski loader "skiload" has almost exactly the same inline assembly
call for ssc(), but for whatever reason, (maybe ssc() and
ski_cons_putchar() are in different files?), the ssc() function didn't
get inlined and I/O worked fine.


To generate a diff of this commit:
cvs rdiff -u -r1.4 -r1.5 src/sys/arch/ia64/ia64/ssc.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/arch/ia64/ia64/ssc.c
diff -u src/sys/arch/ia64/ia64/ssc.c:1.4 src/sys/arch/ia64/ia64/ssc.c:1.5
--- src/sys/arch/ia64/ia64/ssc.c:1.4	Sat Oct 27 13:17:57 2012
+++ src/sys/arch/ia64/ia64/ssc.c	Fri May 13 09:40:55 2016
@@ -1,4 +1,4 @@
-/*	$NetBSD: ssc.c,v 1.4 2012/10/27 17:17:57 chs Exp $	*/
+/*	$NetBSD: ssc.c,v 1.5 2016/05/13 13:40:55 christos Exp $	*/
 
 /*-
  * Copyright (c) 2000 Doug Rabson
@@ -46,6 +46,7 @@ int ssccngetc(dev_t);
 void ssccnpollc(dev_t, int);
 
 
+__attribute__((__noinline__))
 uint64_t
 ssc(uint64_t in0, uint64_t in1, uint64_t in2, uint64_t in3, int which)
 {

Reply via email to