From: john stultz <johnstul@us.ibm.com>
To: Linus Torvalds <torvalds@transmeta.com>, andrea <andrea@suse.de>
Cc: Michael Hohnbaum <hbaum@us.ibm.com>,
"Martin J. Bligh" <mbligh@aracnet.com>,
george anzinger <george@mvista.com>,
lkml <linux-kernel@vger.kernel.org>
Subject: [RFC] linux-2.5.34_vsyscall_A0 - Test App
Date: 17 Oct 2002 21:26:27 -0700 [thread overview]
Message-ID: <1034915187.2209.147.camel@cog> (raw)
In-Reply-To: <1034915132.1681.144.camel@cog>
[-- Attachment #1: Type: text/plain, Size: 82 bytes --]
All,
Attached is a application to test vsyscall_A0 gettimeofday.
thanks
-john
[-- Attachment #2: vsyscall-test.c --]
[-- Type: text/x-c, Size: 308 bytes --]
#include <stdio.h>
#include <stdlib.h>
void (*vsys)(struct timeval*, struct timeval*) = (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);
}
next prev parent reply other threads:[~2002-10-18 4:28 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2002-10-18 4:25 [RFC][PATCH] linux-2.5.34_vsyscall_A0 john stultz
2002-10-18 4:26 ` john stultz [this message]
2002-10-18 11:14 ` Andrea Arcangeli
2002-10-18 16:13 ` Stephen Hemminger
2002-10-18 16:45 ` george anzinger
2002-10-18 17:11 ` Andrea Arcangeli
2002-10-18 17:19 ` Linus Torvalds
2002-10-18 17:21 ` Andrea Arcangeli
2002-10-18 18:37 ` Stephen Hemminger
2002-10-18 18:51 ` Andrea Arcangeli
2002-10-18 19:30 ` george anzinger
2002-10-18 17:01 ` Andrea Arcangeli
2002-10-21 13:18 ` Alan Cox
2002-10-21 17:15 ` john stultz
2002-10-18 16:39 ` john stultz
2002-10-18 18:54 ` [RFC] vsyscall_A0 LD_PRELOAD implementation john stultz
2002-10-21 22:44 ` [RFC][PATCH] linux-2.5.34_vsyscall_A0 Stephen Hemminger
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1034915187.2209.147.camel@cog \
--to=johnstul@us.ibm.com \
--cc=andrea@suse.de \
--cc=george@mvista.com \
--cc=hbaum@us.ibm.com \
--cc=linux-kernel@vger.kernel.org \
--cc=mbligh@aracnet.com \
--cc=torvalds@transmeta.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox