From c83bcded99e49d4571edc8a00b147bf18b6dcc73 Mon Sep 17 00:00:00 2001 From: Qi Yadong Date: Fri, 30 Mar 2018 12:50:40 +0800 Subject: [PATCH] trusty: fix typo of comments Remove TODO comments since it has been done below the comments. Typo fix: startup_info --> startup_param. Signed-off-by: Qi Yadong Acked-by: Eddie Dong --- hypervisor/arch/x86/trusty.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/hypervisor/arch/x86/trusty.c b/hypervisor/arch/x86/trusty.c index 4fce58c0f..a5df199e1 100644 --- a/hypervisor/arch/x86/trusty.c +++ b/hypervisor/arch/x86/trusty.c @@ -304,8 +304,6 @@ static bool setup_trusty_info(struct vcpu *vcpu, mem = (struct trusty_mem *)(HPA2HVA(mem_base_hpa)); - /* TODO: prepare vkey_info */ - /* copy key_info to the first page of trusty memory */ memcpy_s(&mem->first_page.key_info, sizeof(g_key_info), &g_key_info, sizeof(g_key_info)); @@ -327,7 +325,7 @@ static bool setup_trusty_info(struct vcpu *vcpu, } } - /* Prepare trusty startup info */ + /* Prepare trusty startup param */ mem->first_page.startup_param.size_of_this_struct = sizeof(struct trusty_startup_param); mem->first_page.startup_param.mem_size = mem_size;