提交 498cd995 编写于 作者: G Greg Kurz 提交者: David Gibson

spapr: refresh "platform-specific" hcalls comment

We have more of these since the addition of KVMPPC_H_LOGICAL_MEMOP in 2012.
Signed-off-by: NGreg Kurz <groug@kaod.org>
Reviewed-by: NThomas Huth <thuth@redhat.com>
Signed-off-by: NDavid Gibson <david@gibson.dropbear.id.au>
上级 04d0ffbd
...@@ -377,9 +377,8 @@ struct sPAPRMachineState { ...@@ -377,9 +377,8 @@ struct sPAPRMachineState {
* as well. * as well.
* *
* We also need some hcalls which are specific to qemu / KVM-on-POWER. * We also need some hcalls which are specific to qemu / KVM-on-POWER.
* So far we just need one for H_RTAS, but in future we'll need more * We put those into the 0xf000-0xfffc range which is reserved by PAPR
* for extensions like virtio. We put those into the 0xf000-0xfffc * for "platform-specific" hcalls.
* range which is reserved by PAPR for "platform-specific" hcalls.
*/ */
#define KVMPPC_HCALL_BASE 0xf000 #define KVMPPC_HCALL_BASE 0xf000
#define KVMPPC_H_RTAS (KVMPPC_HCALL_BASE + 0x0) #define KVMPPC_H_RTAS (KVMPPC_HCALL_BASE + 0x0)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册