From: Norbert Manthey <nmanthey@amazon.de>
To: Dan Carpenter <dan.carpenter@oracle.com>
Cc: David Woodhouse <dwmw@amazon.co.uk>,
smatch@vger.kernel.org, Norbert Manthey <nmanthey@amazon.de>
Subject: [xen 5/6] user_data: add register read function
Date: Tue, 14 Aug 2018 17:00:57 +0200 [thread overview]
Message-ID: <1534258858-32218-5-git-send-email-nmanthey@amazon.de> (raw)
In-Reply-To: <1534258858-32218-1-git-send-email-nmanthey@amazon.de>
Signed-off-by: Norbert Manthey <nmanthey@amazon.de>
---
check_user_data2.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/check_user_data2.c b/check_user_data2.c
index 5d5606c..d95ba1d 100644
--- a/check_user_data2.c
+++ b/check_user_data2.c
@@ -1238,6 +1238,9 @@ void check_user_data2(int id)
for (i = 0; i < ARRAY_SIZE(xen_from_guest_funcs); i++)
add_function_hook(xen_from_guest_funcs[i], &match_user_copy, INT_PTR(0));
+ // the Xen equivalent to kvm_register_read
+ add_function_assign_hook("acpi_hw_register_read", &match_user_copy, NULL);
+
for (i = 0; i < ARRAY_SIZE(kstr_funcs); i++)
add_function_hook(kstr_funcs[i], &match_user_copy, INT_PTR(2));
add_function_hook("usb_control_msg", &match_user_copy, INT_PTR(6));
--
2.7.4
Amazon Development Center Germany GmbH
Berlin - Dresden - Aachen
main office: Krausenstr. 38, 10117 Berlin
Geschaeftsfuehrer: Dr. Ralf Herbrich, Christian Schlaeger
Ust-ID: DE289237879
Eingetragen am Amtsgericht Charlottenburg HRB 149173 B
next prev parent reply other threads:[~2018-08-14 17:51 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-14 15:00 [xen 1/6] math: increase bounds and buffers Norbert Manthey
2018-08-14 15:00 ` [xen 2/6] user_data: add ends_with method Norbert Manthey
2018-08-14 15:00 ` [xen 3/6] user_data: match some Xen hypercalls Norbert Manthey
2018-08-14 15:00 ` [xen 4/6] user_data: match Xen copy_from_guest Norbert Manthey
2018-08-14 17:27 ` Dan Carpenter
2018-08-14 18:10 ` Norbert Manthey
2018-08-14 15:00 ` Norbert Manthey [this message]
2018-08-14 17:08 ` [xen 5/6] user_data: add register read function Dan Carpenter
2018-08-14 18:07 ` Norbert Manthey
2018-08-14 18:38 ` Dan Carpenter
2018-08-14 15:00 ` [xen 6/6] user_data: add hypercall sub calls Norbert Manthey
2018-08-14 16:35 ` [xen 1/6] math: increase bounds and buffers Dan Carpenter
[not found] ` <f1a66ee7-209c-aaee-0e51-fc4fc7b5b3cf@amazon.de>
2018-08-17 7:25 ` Norbert Manthey
2018-08-17 11:42 ` Dan Carpenter
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=1534258858-32218-5-git-send-email-nmanthey@amazon.de \
--to=nmanthey@amazon.de \
--cc=dan.carpenter@oracle.com \
--cc=dwmw@amazon.co.uk \
--cc=smatch@vger.kernel.org \
/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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).