From: 房海峰 <fanghaifeng@ncic.ac.cn>
To: xen-devel <xen-devel@lists.xensource.com>
Subject: where is the location of definition of "do_xen_version"?
Date: Fri, 7 Mar 2008 17:45:31 +0800 [thread overview]
Message-ID: <200803071745311567155@ncic.ac.cn> (raw)
[-- Attachment #1.1: Type: text/plain, Size: 1622 bytes --]
hi, my friends:
Currently, i am studying the way of hypercall's implementation.
i have already known the flow of hypercall's execuation, and i decided to add a new hypercall into the Xen.
first, i want to know the detail of one hypercall function, for example, "do_xen_version", but i can not find
the location of definition of "do_xen_version". who can help me?
i have get some resualts as follows:
[root@vt-0 xen-3.1.0-src]# find ./ -name "*.*" | xargs grep "do_xen_version"
./xen/include/xen/hypercall.h:do_xen_version(
Binary file ./xen/common/built_in.o matches
Binary file ./xen/common/kernel.o matches
./xen/arch/x86/x86_32/entry.S: .long do_xen_version
./xen/arch/x86/x86_32/entry.S: .byte 2 /* do_xen_version */
Binary file ./xen/arch/x86/x86_32/built_in.o matches
Binary file ./xen/arch/x86/x86_32/entry.o matches
./xen/arch/x86/x86_64/entry.S: .quad do_xen_version
./xen/arch/x86/x86_64/entry.S: .byte 2 /* do_xen_version */
Binary file ./xen/arch/x86/built_in.o matches
Binary file ./xen/arch/x86/hvm/hvm.o matches
Binary file ./xen/arch/x86/hvm/built_in.o matches
./xen/arch/ia64/linux-xen/entry.S: data8 do_xen_version
./xen/arch/powerpc/powerpc64/hypercall_table.S: .quad do_xen_version
Binary file ./dist/install/boot/xen-syms-3.1.0 matches
./tools/libxc/xc_private.c: rc = do_xen_version(xc_handle, cmd, arg);
./tools/libxc/xc_private.h:static inline int do_xen_version(int xc_handle, int cmd, void *dest)
but the "do_xen_version" is not in those above.
thanks a lots.
www.ict.ac.cn
2008-03-07
房海峰
[-- Attachment #1.2: Type: text/html, Size: 3279 bytes --]
[-- Attachment #2: Type: text/plain, Size: 138 bytes --]
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel
next reply other threads:[~2008-03-07 9:45 UTC|newest]
Thread overview: 7+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-03-07 9:45 房海峰 [this message]
2008-03-07 9:55 ` where is the location of definition of "do_xen_version"? Zheng, Shaohui
[not found] ` <200803071849089534309@ncic.ac.cn>
2008-03-07 10:49 ` Fw: Re: RE: where is the location of definition of"do_xen_version"? 房海峰
2008-03-07 11:33 ` Daniel Stodden
2008-03-07 13:07 ` Re: RE: where is the location of definitionof"do_xen_version"? Shan, Haitao
2008-03-08 3:01 ` 房海峰
2008-03-08 4:01 ` Shan, Haitao
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=200803071745311567155@ncic.ac.cn \
--to=fanghaifeng@ncic.ac.cn \
--cc=xen-devel@lists.xensource.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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.