Re: [edk2] VT-d : VER_REG register question

2018-07-23 Thread Tiger Liu(BJ-RD)
Hello: Could anyone help answer this question? Thanks 发件人: Tiger Liu(BJ-RD) 发送时间: 2018年4月12日 10:40 收件人: 'edk2-devel@lists.01.org' 主题: [edk2] VT-d : VER_REG register question Hi, Jiewen: I have a question about VER_REG register’s content. (VT-d spec) Does current Intel chipset support VT-d spec

[edk2] [EDK2] ACPI : S1 deprecated?

2018-04-16 Thread Tiger Liu(BJ-RD)
Hi, experts: I have a question about S1 state. (ACPI Spec) It seems current UEFI BIOS not support S1 state. For example: Current desktop PC's UEFI BIOS, usually not report to OS that it support S1 state. Thanks ? ? CONFIDENTIAL NOTE:

[edk2] VT-d : VER_REG register question

2018-04-11 Thread Tiger Liu(BJ-RD)
Hi, Jiewen: I have a question about VER_REG register's content. (VT-d spec) Does current Intel chipset support VT-d spec 2.4 ? It seems VER_REG always display 1.0 , why? Thanks Best wishes, ? ? CONFIDENTIAL NOTE: This email contains

Re: [edk2] OVMF package : Question about Qemu/Xen support

2018-04-03 Thread Tiger Liu(BJ-RD)
Hi, Laszlo: Got it! Thank you very much! Best wishes, -邮件原件- 发件人: Laszlo Ersek [mailto:ler...@redhat.com] 发送时间: 2018年4月3日 18:36 收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com> 抄送: 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org>; Anthony Perard <anthony.per...@citrix.com

Re: [edk2] OVMF package : Question about Qemu/Xen support

2018-04-02 Thread Tiger Liu(BJ-RD)
人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com> 抄送: 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org>; Anthony Perard <anthony.per...@citrix.com>; Julien Grall <julien.gr...@linaro.org> 主题: Re: [edk2] OVMF package : Question about Qemu/Xen support On 03/05/18 06:49, Tige

[edk2] 答复: OVMF package : Question about Qemu/Xen support

2018-03-05 Thread Tiger Liu(BJ-RD)
Hi, Laszlo: Got it! Thanks a lot! Best wishes, -邮件原件- 发件人: Laszlo Ersek [mailto:ler...@redhat.com] 发送时间: 2018年3月5日 17:15 收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com> 抄送: 'edk2-devel@lists.01.org' <edk2-devel@lists.01.org>; Anthony Perard <anthony.per...@citrix.com

[edk2] OVMF package : Question about Qemu/Xen support

2018-03-04 Thread Tiger Liu(BJ-RD)
Hi, experts: I have a question about Ovmf. Must Ovmf be run with qemu tool? Or It could be run with Xen without needed qemu software. It seems Xen began to support uefi boot from 4.4 version. Thanks ? ? CONFIDENTIAL NOTE: This email

Re: [edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h

2018-02-06 Thread Tiger Liu(BJ-RD)
Hi, Andrew: Thanks a lot! Best wishes, 发件人: af...@apple.com [mailto:af...@apple.com] 发送时间: 2018年2月6日 13:01 收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com> 抄送: Gao, Liming <liming@intel.com>; edk2-devel@lists.01.org 主题: Re: [edk2] [EDK2] How to use compiler intrin

Re: [edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h

2018-02-05 Thread Tiger Liu(BJ-RD)
Hi, Liming: Thanks for your reply. I tried to compile a UEFI shell application. And this app would call functions provided in mmintrin.h So, I met this trouble. Thanks Best wishes, -邮件原件- 发件人: Gao, Liming [mailto:liming@intel.com] 发送时间: 2018年2月6日 12:39 收件人: Tiger Liu(BJ-RD) <ti

Re: [edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h

2018-02-05 Thread Tiger Liu(BJ-RD)
” But failed. Best wishes, 发件人: Tiger Liu(BJ-RD) 发送时间: 2018年2月2日 19:08 收件人: edk2-devel@lists.01.org 主题: [EDK2] How to use compiler intrinsic function, such as :mmintrin.h Hi, experts: I have a question about using compiler’s intrinsic function. It seems EDKII’s compiler option doesn’t support using

[edk2] [EDK2] How to use compiler intrinsic function, such as :mmintrin.h

2018-02-02 Thread Tiger Liu(BJ-RD)
Hi, experts: I have a question about using compiler's intrinsic function. It seems EDKII's compiler option doesn't support using intrinsic function. Such as: mmintrin.h MMX xmmintrin.hSSE emmintrin.h SSE2 pmmintrin.h SSE3 tmmintrin.hSSSE3 intrin.h SSE4A smmintrin.h

Re: [edk2] difference between asm16 and asm files

2018-02-02 Thread Tiger Liu(BJ-RD)
Hi, Liming: Got it! Thanks Best wishes, -邮件原件- 发件人: Gao, Liming [mailto:liming@intel.com] 发送时间: 2018年1月31日 17:44 收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com>; edk2-devel@lists.01.org 主题: RE: [edk2] difference between asm16 and asm files Tiger: Nasm compiler supports to ge

Re: [edk2] difference between asm16 and asm files

2018-01-30 Thread Tiger Liu(BJ-RD)
: Tiger Liu(BJ-RD) 发送时间: 2018年1月30日 9:45 收件人: 'Gao, Liming' <liming@intel.com>; edk2-devel@lists.01.org 主题: Re: [edk2] difference between asm16 and asm files Hi, Liming: Thanks for your reply! I have another question: Why not let sec code complied to obj file and linked to lib and EFI ima

Re: [edk2] difference between asm16 and asm files

2018-01-29 Thread Tiger Liu(BJ-RD)
: 2018年1月29日 22:30 收件人: Tiger Liu(BJ-RD) <tiger...@zhaoxin.com>; edk2-devel@lists.01.org 主题: RE: [edk2] difference between asm16 and asm files Asm16 is compiled to the binary file. Asm is compiled to the obj file, and linked into lib and EFI image. Now, asm16 is replaced by nasmb. Asm is re

[edk2] difference between asm16 and asm files

2018-01-29 Thread Tiger Liu(BJ-RD)
Hi, experts: I have a question about asm16 postfix and asm postfix. Such as: UefiCpuPkg\SecCore\Ia32\ResetVec.asm16 Why not use asm as postfix? Thanks Best wishes, ? ? CONFIDENTIAL NOTE: This email contains confidential or legally

Re: [edk2] [EDK2] how to use IFDEF marco in asm include file?

2018-01-15 Thread Tiger Liu(BJ-RD)
Such as IntelFspPkg\FspSecCore\Ia32\SaveRestoreSse.inc : IFDEF USE_SSE41_FLAG …… ELSE …… ENDIF How to let asm compliler to pre-process USE_SSE41_FLAG in this inc file ? Thanks 发件人: Tiger Liu(BJ-RD) 发送时间: 2018年1月16日 10:02 收件人: edk2-devel@lists.01.org 主题: [EDK2] how to use IFDEF marco in asm

[edk2] [EDK2] how to use IFDEF marco in asm include file?

2018-01-15 Thread Tiger Liu(BJ-RD)
Hi, experts: I have a question about how to use IFDEF marco in asm include file. I have a assembly file, and a related inc file. I defined some marco in dsc file. I could use these marco in assembly file, such as .asm file. But I could not use it in inc file. Thanks Best wishes, ?

[edk2] Questions about SubmitResources()

2017-11-09 Thread Tiger Liu
Hi, experts: I have a question about PciHostBridge’s SubmitResources() function. For example: 1. PciBus driver scanned a pci bus, found no pci devices needed resource, such as : MMIO ranges Then, Mem32Bridge->Length:0x0, Mem32Bridge->Alignment:0Xf , and AddrSpaceGranularity = 0 Then

Re: [edk2] how to create environmental variable for Shell

2017-11-05 Thread Tiger Liu
ll.com; Tiger Liu <tiger...@zhaoxin.com> 抄送: edk2-devel@lists.01.org 主题: RE: [edk2] how to create environmental variable for Shell Delay for the shell to start "Startup.nsh" can also be done with the option "-delay :n" where n is the number of seconds of dela

[edk2] how to create environmental variable for Shell

2017-11-02 Thread Tiger Liu
Hi, experts: I have a question about creating shell’s environmental variable. Such as : StartupDelay I tried to create this variable at uefi boot phase. …… TmpVal = 2; Status = gRT->SetVariable ( L"StartupDelay",

[edk2] Does mm command support using in shell script?

2017-09-26 Thread Tiger Liu
Hi, experts: Does mm command support using in shell script? I tried to use mm command in a script, but failed. I wrote a script such as below: mm 80 68 -w 1 -IO -n Then I run this script, but failed. Thanks 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This

[edk2] 答复: Shell input redirection question

2017-09-22 Thread Tiger Liu
Hi, experts: How about mm command? I tried to use mm command in a script, but failed. I wrote a script such as below: mm 80 68 -w 1 -IO -n Then I run this script, but failed. Thanks -邮件原件- 发件人: Tiger Liu 发送时间: 2017年9月22日 9:22 收件人: 'Carsey, Jaben'; jim.dai...@dell.com 抄送: edk2-devel

Re: [edk2] Shell input redirection question

2017-09-21 Thread Tiger Liu
Hi, All: Thanks for your suggestions. Appreciate it. Thanks best wishes, -邮件原件- 发件人: Carsey, Jaben [mailto:jaben.car...@intel.com] 发送时间: 2017年9月21日 22:13 收件人: jim.dai...@dell.com 抄送: edk2-devel@lists.01.org; Tiger Liu 主题: RE: [edk2] Shell input redirection question

[edk2] Shell input redirection question

2017-09-21 Thread Tiger Liu
Hi, experts: I have a question about input redirection in Shell environment. Take pci command as sample. I wrote a txt file(file name is : inputsample.txt), its content is: 00 00 01 -i 00 00 02 –i It means I just wanted to dump D0F1/D0F2’s config space. Then, I use this command sequence in

Re: [edk2] Question about Simple Text Out Protocol

2017-09-03 Thread Tiger Liu
Hi, Andrew: Thanks. It's really the root cause. best wishes, -邮件原件- 发件人: af...@apple.com [mailto:af...@apple.com] 发送时间: 2017年9月3日 5:35 收件人: Tiger Liu 抄送: edk2-devel@lists.01.org 主题: Re: [edk2] Question about Simple Text Out Protocol > On Sep 1, 2017, at 2:07 AM, Tiger Liu <

[edk2] Question about Simple Text Out Protocol

2017-09-01 Thread Tiger Liu
Hi, experts: I am debugging vga class driver/mini port protocol. I found: 1. vgaclass driver will install Simple txt out protocol 2. ConSplitter driver will also install simple txt out protocol and ConSplitter driver’s simple txt out protocol implementation will override vga class

Re: [edk2] Questions about uefi bios's vga mode

2017-09-01 Thread Tiger Liu
to display on vga screen. bios has finished boot, and print: [Bds]Booting Internal EDK Shell But the screen is blank. Thanks best wishes, -邮件原件- 发件人: Tiger Liu 发送时间: 2017年9月1日 11:24 收件人: 'af...@apple.com' 抄送: edk2-devel@lists.01.org 主题: Re: [edk2] [EDK2] Questions about uefi bios's vga mode

Re: [edk2] [EDK2] Questions about uefi bios's vga mode

2017-08-31 Thread Tiger Liu
Hi, Andrew: Thanks a lot. best wishes, -邮件原件- 发件人: af...@apple.com [mailto:af...@apple.com] 发送时间: 2017年9月1日 2:47 收件人: Tiger Liu 抄送: edk2-devel@lists.01.org 主题: Re: [edk2] [EDK2] Questions about uefi bios's vga mode > On Aug 31, 2017, at 2:08 AM, Tiger Liu <tiger...@zhaoxin.com&

[edk2] Questions about Open Compute Project Server BIOS

2017-08-22 Thread Tiger Liu
Hi, experts: There is an Open Compute Project(OCP). They provided open server design guide, and reference schematic. I have a question about its bios. Is there open source uefi bios for this project? Thanks best wishes, 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL

[edk2] Smbus support ddr4 spd new command question

2017-06-19 Thread Tiger Liu
Hi, experts: DDR4 DRAM SPD is 512 bytes. So, there exists Page bank switch requirement. Current, DD4 SPD chip support below 2 commands: SPA0 : Set EE Page Address to 0 SPA1 : Set EE Page Address to 1 So, my question is: I could not find above two commands definitions in

[edk2] Hypervisor with UEFI

2017-03-26 Thread Tiger Liu
Hi, experts: There are some web pages described Hypervisor with UEFI Firmware. Are there some Hypervisor sample implementations in current EDKII source code base? Thanks best wishes, 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This email contains

[edk2] question about BSP switch function

2017-03-05 Thread Tiger Liu
Hi, experts: I have a question about BSP switch function. PI Spec defined a Ppi and a Protocol to provide SwitchBSP() function. EFI_MP_SERVICES_PPI.SwitchBSP() EFI_MP_SERVICES_PROTOCOL.SwitchBSP() If SEC code found BSP had some errors, so PEI phase code could use mp services ppi to switch BSP to

[edk2] 答复: [OVMF] OVMF Support Dual-Socket boot?

2017-03-01 Thread Tiger Liu
Hi, Laszlo: Thank you very much! it's very clear now! best wishes, -邮件原件- 发件人: Laszlo Ersek [mailto:ler...@redhat.com] 发送时间: 2017年3月2日 2:26 收件人: Tiger Liu 抄送: edk2-devel@lists.01.org 主题: Re: [edk2] [OVMF] OVMF Support Dual-Socket boot? (I've come down with the flu and I'm responding

Re: [edk2] [OVMF] OVMF Support Dual-Socket boot?

2017-03-01 Thread Tiger Liu
Hi, Laszlo: Thanks for your reply! So, dual-socket means two pci host bridges exist, and also means two pci segments exist. Could current Ovmf pci related drivers handle them? best wishes, -邮件原件- 发件人: Laszlo Ersek [mailto:ler...@redhat.com] 发送时间: 2017年3月1日 17:37 收件人: Tiger Liu 抄送: edk2

[edk2] [OVMF] OVMF Support Dual-Socket boot?

2017-02-28 Thread Tiger Liu
Hi, Experts: I have a question about dual-socket. Does Ovmf FW supports Dual-Socket platform boot? Such as: Qemu emulates a dual-socket xeon platform, Could Ovmf UEFI Code boot on it? Thanks best wishes, 保密声明: 本邮件含有保密或专有信息,仅供指定收件人使用。严禁对本邮件或其内容做任何未经授权的查阅、使用、复制或转发。 CONFIDENTIAL NOTE: This