From: JUNWEN JIA <jiajunwen123@gmail.com>
To: "edk2-devel@lists.01.org " <edk2-devel@lists.01.org>
Subject: EDK debug question
Date: Wed, 24 Jan 2018 10:23:33 +0800 [thread overview]
Message-ID: <5a67ee28.4895630a.91a34.55ae@mx.google.com> (raw)
Hi:
Thanks for your replies. I referred to some examples in baselib, for example,WriteMsr64.asm, WriteMsr64.nasm,
WriteMsr64.c and create Reboot.asm, Reboot.nasm, Reboot.c file in MdePkg->Library->BaseLib-> Ia32. I also made some
corresponding Changes in BaseLib.inf and other files. And I did avoid to use X64 arch. So my cmos.c source file in AppPkg is like
this:
#include<Library/BaseLib.h>
Void main()
{
Reboot();
}
But the compiled result is Reboot.lib(Reboot.obj):error LNK2001:
####\DEBUG\cmos.dll:fatal error LINK1120:1
The picture is the compiled result, and I wonder if I missed to create or modify some files?
Thanks for helping !
Best Regards!
发送自 Windows 10 版邮件应用
next reply other threads:[~2018-01-24 2:18 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-01-24 2:23 JUNWEN JIA [this message]
2018-01-24 3:00 ` EDK debug question Andrew Fish
-- strict thread matches above, loose matches on Subject: below --
2018-01-24 6:31 JUNWEN JIA
2018-01-24 6:55 ` Andrew Fish
2018-01-24 8:30 JUNWEN JIA
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=5a67ee28.4895630a.91a34.55ae@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