|
Runtime configuration methods for OVMF/AAVMF?
Hello. What methods currently exist to configure OVMF/AAVMF dynamically at runtime?
For example, modify the preferred Language, set boot menu timeout or enable SecureBoot.
To my knowledge, the
Hello. What methods currently exist to configure OVMF/AAVMF dynamically at runtime?
For example, modify the preferred Language, set boot menu timeout or enable SecureBoot.
To my knowledge, the
|
By
Aaron Young
·
#565
·
|
|
Re: Cross referencing EDKII code
Yeah, I have the same problem with cscope. Too many matches for one
symbol.
wrote:
--
Best,
Daniel
Yeah, I have the same problem with cscope. Too many matches for one
symbol.
wrote:
--
Best,
Daniel
|
By
wonderfly@...
·
#564
·
|
|
Re: Cross referencing EDKII code
Ah, ctags! Haven't used that for years. I'll give it a shot. Thanks for sharing.
--
Best,
Daniel
Ah, ctags! Haven't used that for years. I'll give it a shot. Thanks for sharing.
--
Best,
Daniel
|
By
Daniel Wang <wonderfly@...>
·
#563
·
|
|
Re: Cross referencing EDKII code
I use cscope, and the "rscope" extension to emacs. I use a script to collect source files and include directories from the source tree to generate the cscope.files file. That works, but isn't smart
I use cscope, and the "rscope" extension to emacs. I use a script to collect source files and include directories from the source tree to generate the cscope.files file. That works, but isn't smart
|
By
Brian J. Johnson
·
#562
·
|
|
Re: Cross referencing EDKII code
I use "Exuberant Ctags" for generating a "tags" file, and NEdit for
editing source code. NEdit loads the "tags" file and can jump to
definitions. If there are multiple function definitions, NEdit
I use "Exuberant Ctags" for generating a "tags" file, and NEdit for
editing source code. NEdit loads the "tags" file and can jump to
definitions. If there are multiple function definitions, NEdit
|
By
Laszlo Ersek
·
#561
·
|
|
Re: Cross referencing EDKII code
I'm also using VSCode for edk2 development. If your workspace is not in local machine but in a remote server, you can use Remote Development extension (SSH tunnel). It works well for me.
Below are
I'm also using VSCode for edk2 development. If your workspace is not in local machine but in a remote server, you can use Remote Development extension (SSH tunnel). It works well for me.
Below are
|
By
Nhi Pham
·
#560
·
|
|
Re: Cross referencing EDKII code
Very nice! Thank you for the pointers. I wonder how the cross links were created and whether it's possible to integrate them into my editor (vim). If not, is there a build target for doxygen? So
Very nice! Thank you for the pointers. I wonder how the cross links were created and whether it's possible to integrate them into my editor (vim). If not, is there a build target for doxygen? So
|
By
Daniel Wang <wonderfly@...>
·
#559
·
|
|
Re: Cross referencing EDKII code
https://bugzilla.tianocore.org/show_bug.cgi?id=2850
I submitted a Bugzilla for compile_commands.json. Are you interested in taking this Bugzilla?
https://bugzilla.tianocore.org/show_bug.cgi?id=2850
I submitted a Bugzilla for compile_commands.json. Are you interested in taking this Bugzilla?
|
By
Ni, Ray
·
#558
·
|
|
Re: Cross referencing EDKII code
I have found that VSCode opening the edk2 folder does a decent job of giving you resolution of symbols but you still have to understand edk2 specifics like library resolution, public/private files,
I have found that VSCode opening the edk2 folder does a decent job of giving you resolution of symbols but you still have to understand edk2 specifics like library resolution, public/private files,
|
By
Sean
·
#557
·
|
|
Re: Cross referencing EDKII code
It's very specific for my use of building it for my site, but I've put the Doxyfile at https://bsdio.com/edk2/docs/master.doxyfile . You'll want to change things like the output directory, which is
It's very specific for my use of building it for my site, but I've put the Doxyfile at https://bsdio.com/edk2/docs/master.doxyfile . You'll want to change things like the output directory, which is
|
By
Rebecca Cran <rebecca@...>
·
#556
·
|
|
Re: Cross referencing EDKII code
Personally, I've found Doxygen a great help in understanding EDK2. I've been maintaining a build of the documentation at https://bsdio.com/edk2/docs/master/index.html for a few years.
I think I've
Personally, I've found Doxygen a great help in understanding EDK2. I've been maintaining a build of the documentation at https://bsdio.com/edk2/docs/master/index.html for a few years.
I think I've
|
By
Rebecca Cran <rebecca@...>
·
#555
·
|
|
Cross referencing EDKII code
Started looking at EDKII code about two months ago. One of the things I still haven't figured out is how to read code effectively, possibly with the help of cross referencing tools. Haven't got much
Started looking at EDKII code about two months ago. One of the things I still haven't figured out is how to read code effectively, possibly with the help of cross referencing tools. Haven't got much
|
By
wonderfly@...
·
#554
·
|
|
Re: [edk2-devel] [RFC] UnitTestFrameworkPkg cmocka submodule alternatives
I just noticed this never got committed: https://github.com/tianocore/edk2/blob/master/.gitmodules still shows the old URL.
--
Rebecca Cran
I just noticed this never got committed: https://github.com/tianocore/edk2/blob/master/.gitmodules still shows the old URL.
--
Rebecca Cran
|
By
Rebecca Cran
·
#553
·
|
|
Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe
This is an unfortunate oversight in the architecture, but RNDRRS most
certainly does not return a true random number.
RNDR and RNDRRS both return the output of a DRBG (pseudo RNG), and the
only
This is an unfortunate oversight in the architecture, but RNDRRS most
certainly does not return a true random number.
RNDR and RNDRRS both return the output of a DRBG (pseudo RNG), and the
only
|
By
Ard Biesheuvel <ardb@...>
·
#552
·
|
|
Re: MemoryFence()
Right, I hope to propose some patches after the stable tag.
Thanks, Paolo -- should not be your job, but I'll gladly take your help.
Seeing a few examples from you will hopefully teach me some
Right, I hope to propose some patches after the stable tag.
Thanks, Paolo -- should not be your job, but I'll gladly take your help.
Seeing a few examples from you will hopefully teach me some
|
By
Laszlo Ersek
·
#551
·
|
|
Re: MemoryFence()
I think the first step should be to introduce the new fence primitives and fixing MemoryFence to be what it says on the tin.
I can volunteer for the work of removing volatile once those are
I think the first step should be to introduce the new fence primitives and fixing MemoryFence to be what it says on the tin.
I can volunteer for the work of removing volatile once those are
|
By
Paolo Bonzini <pbonzini@...>
·
#550
·
|
|
Re: MemoryFence()
Yeah, also given that the bugs around this are subtle. And, it is
a non-trivial effort to test all the affected pieces of logic.
Just thinking out aloud -- maybe the thing to do might be to
Yeah, also given that the bugs around this are subtle. And, it is
a non-trivial effort to test all the affected pieces of logic.
Just thinking out aloud -- maybe the thing to do might be to
|
By
Ankur Arora
·
#549
·
|
|
Re: [edk2-devel] RFC: Adding support for ARM (RNDR etc.) to RngDxe
The ARMv8.5 RNDRRS instruction appears to be missing from the diagram on page 11 - it has RngLib|RNDR, which is listed under PRNG, but RNDRRS returns a true random number. From the Arm ARM:
"Returns
The ARMv8.5 RNDRRS instruction appears to be missing from the diagram on page 11 - it has RngLib|RNDR, which is listed under PRNG, but RNDRRS returns a true random number. From the Arm ARM:
"Returns
|
By
Rebecca Cran <rebecca@...>
·
#548
·
|
|
Re: MemoryFence()
Laszlo,
I think it makes sense to “break this up”. Seems like we need correct primitives and documentation on how to use them. It is easy enough after that to use code review to make new code
Laszlo,
I think it makes sense to “break this up”. Seems like we need correct primitives and documentation on how to use them. It is easy enough after that to use code review to make new code
|
By
Andrew Fish <afish@...>
·
#547
·
|
|
Re: MemoryFence()
Given the actual amount of MemoryFence() calls and "volatile" uses in
edk2, it's actually a pretty large undertaking to "fix" these issues. I
don't foresee a quick resolution here, especially if I'm
Given the actual amount of MemoryFence() calls and "volatile" uses in
edk2, it's actually a pretty large undertaking to "fix" these issues. I
don't foresee a quick resolution here, especially if I'm
|
By
Laszlo Ersek
·
#546
·
|