Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id ; Fri, 18 Oct 2002 00:28:51 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id ; Fri, 18 Oct 2002 00:28:50 -0400 Received: from e2.ny.us.ibm.com ([32.97.182.102]:32506 "EHLO e2.ny.us.ibm.com") by vger.kernel.org with ESMTP id ; Fri, 18 Oct 2002 00:28:49 -0400 Subject: [RFC] linux-2.5.34_vsyscall_A0 - Test App From: john stultz To: Linus Torvalds , andrea Cc: Michael Hohnbaum , "Martin J. Bligh" , george anzinger , lkml In-Reply-To: <1034915132.1681.144.camel@cog> References: <1034915132.1681.144.camel@cog> Content-Type: multipart/mixed; boundary="=-TTzN78fr2Wu1BLKnV04W" X-Mailer: Ximian Evolution 1.0.8 Date: 17 Oct 2002 21:26:27 -0700 Message-Id: <1034915187.2209.147.camel@cog> Mime-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 932 Lines: 39 --=-TTzN78fr2Wu1BLKnV04W Content-Type: text/plain Content-Transfer-Encoding: 7bit All, Attached is a application to test vsyscall_A0 gettimeofday. thanks -john --=-TTzN78fr2Wu1BLKnV04W Content-Disposition: attachment; filename=vsyscall-test.c Content-Transfer-Encoding: quoted-printable Content-Type: text/x-c; name=vsyscall-test.c; charset=ISO-8859-1 #include #include void (*vsys)(struct timeval*, struct timeval*) =3D (void*)0xffffe000UL; void main() { struct timeval tv; gettimeofday(&tv,NULL); printf("time: %lu %lu\n", tv.tv_sec,tv.tv_usec); (*vsys)(&tv,NULL); printf("vtime: %lu %lu\n", tv.tv_sec,tv.tv_usec); =09 } --=-TTzN78fr2Wu1BLKnV04W-- - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/