public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: JUNWEN JIA <jiajunwen123@gmail.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Cc: Andrew Fish <afish@apple.com>
Subject: EDK debug question
Date: Wed, 24 Jan 2018 16:30:36 +0800	[thread overview]
Message-ID: <5a68442d.9103240a.94e21.435a@mx.google.com> (raw)

Hi, Andrew:
     Thanks a lot and I really appreciate your suggestion. But the assembly language code is for getting started, 
and I may have to write C language embedded with assembly language and compile through EDK. That is why 
I have to use assembly language to achieve the restart function. 
    And I have some doubts, if I call functions that already exists in BaseLib->Ia32,for example:
     #include<Library/BaseLib.h>
 Void main()
 {
 WriteMsr64(0,0);
 }
 This can be compiled successfully and .efi file can be generated.
 
 Best regards!
 

发送自 Windows 10 版邮件应用



             reply	other threads:[~2018-01-24  8:25 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-01-24  8:30 JUNWEN JIA [this message]
  -- strict thread matches above, loose matches on Subject: below --
2018-01-24  6:31 EDK debug question JUNWEN JIA
2018-01-24  6:55 ` Andrew Fish
2018-01-24  2:23 JUNWEN JIA
2018-01-24  3:00 ` Andrew Fish

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-list 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=5a68442d.9103240a.94e21.435a@mx.google.com \
    --to=devel@edk2.groups.io \
    /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