From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (sender SPF authorized) identity=mailfrom; client-ip=2607:f8b0:4864:20::743; helo=mail-qk1-x743.google.com; envelope-from=poxyrantab@gmail.com; receiver=edk2-devel@lists.01.org Received: from mail-qk1-x743.google.com (mail-qk1-x743.google.com [IPv6:2607:f8b0:4864:20::743]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ml01.01.org (Postfix) with ESMTPS id 9AC45211546E6 for ; Fri, 21 Sep 2018 11:15:23 -0700 (PDT) Received: by mail-qk1-x743.google.com with SMTP id w73-v6so2973064qkb.9 for ; Fri, 21 Sep 2018 11:15:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:openpgp:autocrypt:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=3csrsn9aD0NPZNW9Q2NmvAnt+2J7PuQO2Xuzija4hcw=; b=D83sdUnWpF7A9+2R/TlBrQ6o3Uodu0abBqgxj654Znn919dvPxV6ci5kUqhGDE88NG vr2PbipNXCzh/aYueVGBQdU+bkYNLSy5NTqVjUkCYqrb5Ea+/iCNabbbylnHu1MLsqgu xHjoXreHU/0R3ZB25Z6h4K+WeP3wFcSsNW8PI+i8RSw2UwZSMEuU6ksHdS0c/UOTVUrU oF1tnLKER5PjjGxsRPZdQDIiE+CQuo27cdjsl1NQzYszWw+ma+ciwMfqH6yWxoGmKVCR IZZiZ3eFhKWtcEbOrwlWGuKqLPLAWckH+1JVXhlcBDpt73AB+h/pnMF1O3qKhShsKWLM 4piw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:openpgp:autocrypt :message-id:date:user-agent:mime-version:in-reply-to :content-transfer-encoding:content-language; bh=3csrsn9aD0NPZNW9Q2NmvAnt+2J7PuQO2Xuzija4hcw=; b=NpLuMF1ml+I9jR5TVnKQc0Wm21let3PuvUwmrkoH1h5nPLxn4pjlbWk8Pm7UIOp/uw hFDPb9+SxYre0e9Tb2n5dr8GyzGziZtWoibu9PvbvX8yE2WkTJ5yFnUTGPNo0g+vJ3MP EKpvlECgxhtbVeJOYBi5z6kNgC1/JBMZC+U9S0i45mcF3hJn8V6kSNw0+Ge3vPIrpWAp 00MgQ+xuw8NGHzR3zyEO38d89VITc1FcM38Lj7DI4ZDNPnbfjQTCFFOumMjIDMk4AQm4 X8BRNCLtKg035x1dpZK2CpVApOgWhyM4iLd/HCZ0ZreW6tFinv5ewtDlEvQdq6fc+cTK TZ2g== X-Gm-Message-State: APzg51DEqdVouzHP3k86oLUyLxahYKS/X6s7qjPfkJABtGJjVbnhjtrj XdBeJFuS9t8JGDGaOPXEW4F3TcCF/w== X-Google-Smtp-Source: ANB0VdadyypTQeyGMgByNneUn03XTg9V4graaMT2PYDdtNLtl+lZ/QAU7unvMyhIGSKKTG6YjpXAwA== X-Received: by 2002:a37:f44:: with SMTP id z65-v6mr31079044qkg.93.1537553721777; Fri, 21 Sep 2018 11:15:21 -0700 (PDT) Received: from [192.168.0.106] ([179.60.229.3]) by smtp.gmail.com with ESMTPSA id f23-v6sm22553071qtc.65.2018.09.21.11.15.19 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 21 Sep 2018 11:15:20 -0700 (PDT) To: Andrew Fish Cc: edk2-devel@lists.01.org References: <69e85ce8-a6bd-1400-5e16-aadd1551b877@gmail.com> From: poxyran Openpgp: preference=signencrypt Autocrypt: addr=poxyrantab@gmail.com; prefer-encrypt=mutual; keydata= xsFNBFmtwaEBEADEX8sBIXdmdyzW6ywnI6eyftcs6goynrRb3D7a88QOCqhIJY+h6lXcuwc0 JdwR8Lh8xYCchNX0EChSJs3piGdv7HRs8q+PF+wiSCUUfQM0CjIanREXwaRJjm+F8Z2r5+6a ck44VMES/8rjoEKYE7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jcZvmPt8ZJeMfScWsuWG6UrF0hcnCG5I8KA4kgP5Q9yGmAdzPa 0ByOafWKrBgDoIDk/ageU6NVkHcTy+ieh07IWnqEVQO6sQ4+sGOKTdb0dLahiz2gdmbDf90i eu/Zw94n8h8g2bhWjsbKkuz+zg7OSgtGYitWQ0YLMKHQi5vK3u+VcmLqpYoAjUTH+UjBLJvC BzbftVLcZ+12YWe3dwzyI1QI/aCZrHe/AF9NvL8CQAlfzU7pR4IBRkitKeQJODX5/aXQMTMI RuWAylJ5A50IrFYG1qf402OXUmoBa+ekml29cdPFJHe/b+Ydpw2AOgDtPzXabK/OgmbuUseY AkoOyYwn0tYve6ENo4wYHgWnApAaJtBv6FlW/wQq74geUYXQefGdMhZ2ncehuEI7b/dyHecK XH81VLm4LrGnORgUtfDaHusSMLZUN8tsK+FJGTyS5kUUjOFTjyNskytcpVWxh8ea2BgG/sm4 DEmY5RkDHQ1LfT91UTTueFQHhxOact0gTFbjMJH6xPlj85L3jiePpvXo3wP9+r8ZZ0jPSUIM x9zN1xOBrZ7XDr+z0855dl/CEj5tA85CQiIsj8sqbhaq+tXJBtYIhFlK32KayYxLGJfpKiwb 7fNHwZG1plI= Message-ID: Date: Fri, 21 Sep 2018 15:15:15 -0300 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: Subject: Re: [Question] Testing environment regarding SMM driver X-BeenThere: edk2-devel@lists.01.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: EDK II Development List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 21 Sep 2018 18:15:23 -0000 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Content-Language: en-US Hello again, my question is: is it possible to create a SMM driver that installs/register a SMI handler (in order to call it from a usermode app in the OS) and test it in the UEFI Shell or do I need to setup up a dedicated machine with the SMM stack as described in official EDK II documentation [1]? [1] https://github.com/tianocore/tianocore.github.io/wiki/Testing-SMM-with-QEMU,-KVM-and-libvirt On 9/20/2018 6:09 PM, Andrew Fish wrote: > >> On Sep 20, 2018, at 7:30 AM, poxyran wrote: >> >> Hello, >> >> I have a specific question regarding SMM drivers. I'm trying to create a >> mixed driver as mentioned here >> http://blog.cr4.sh/2015/07/building-reliable-smm-backdoor-for-uefi.html >> and my first try is to create a kind of 'Hello World'. My try is to >> install a SMI handler and call it from a user-mode app once the OS >> booted up. The testing aproach mentioned in the blog post is not >> practical, from my pooint of view. My question is, is it possible to >> test this kind of drivers from the UEFI shell? or do I need to setup a >> dedicated machine as mentioned here > poxyran, > > I'm not sure what you are asking? Indirectly referencing a 10,000 word article is not very helpful. Feel free to ask a specific question. > > Thanks, > > Andrew Fish > >> https://github.com/tianocore/tianocore.github.io/wiki/Testing-SMM-with-QEMU,-KVM-and-libvirt? >> >> BR, >> poxyran >> >> _______________________________________________ >> edk2-devel mailing list >> edk2-devel@lists.01.org >> https://lists.01.org/mailman/listinfo/edk2-devel