Re: [edk2-devel] enable MemoryProfile for uefi shell app

2024-08-14 Thread M.T.
ryAllocationLib with UefiMemoryAllocationProfileLib, or just adding it in? Thank you M.T. On Thu, Jun 15, 2023 at 8:40 AM Rafael Rodrigues Machado < rafaelrodrigues.mach...@gmail.com> wrote: > Hi MT > > > > Just to understand better. > > Do you have access to the BIOS cod

[edk2-devel] enable MemoryProfile for uefi shell app

2023-06-07 Thread M.T.
Hello group I'm looking for some help with MemoryProfile to catch some memory leaks in a custom uefi application. I followed the instructions found on: https://github.com/tianocore/tianocore.github.io/wiki/Memory-leak-detection-with-memory-profile-feature However I can't seem to get this to work

[edk2-devel] Shell App hangs on exit

2022-07-12 Thread M.T.
Hello folks I'm facing a bit of a weird issue here. I'm working on a UEFI shell app, which, for some reason, hangs on exit, and by that I mean when I'm returning the final status from ShellAppMain. ie: INTN EFIAPI ShellAppMain( IN UINTN Argc, IN CHAR16 **Argv) { EFI_STATUS status; ... return statu

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread M.T.
Thank you Andrew That did it! xp On Fri, Jun 17, 2022 at 2:11 PM Andrew Fish wrote: > > > On Jun 17, 2022, at 9:55 AM, M.T. wrote: > > I think I'm getting somewhere now. > > I set everything up and I started getting a consistent error (see logfile > from my last

Re: [edk2-devel] Windows 10 build failing

2022-06-17 Thread M.T.
On Fri, Jun 17, 2022 at 9:58 AM M.T. via groups.io wrote: > I tried all your suggestions, but it looks like still no cigar. > > I deleted and recloned the repo with --recursive, built emulatorPkg, which > worked fine, then tried MdeModulePkg > I get the same error on both my setups,

Re: [edk2-devel] Windows 10 build failing

2022-06-16 Thread M.T.
tliCustomDecompressLib\BrotliCustomDecompressLib.inf [X64, VS2017, DEBUG] xp On Thu, Jun 16, 2022 at 3:06 PM M.T. via groups.io wrote: > I get NASM version 2.15 compiled on Jun 27 2020 > > I bumped it up to the same version you have just in case, several attempts > in build and reco

Re: [edk2-devel] Windows 10 build failing

2022-06-16 Thread M.T.
Thank you xp On Thu, Jun 16, 2022 at 2:53 PM Kinney, Michael D < michael.d.kin...@intel.com> wrote: > Which version of NASM do you have installed? When I run nasm -v, I get > the following: > > > > NASM version 2.15.05 compiled on Aug 28 2020 > > > > Mike > &

Re: [edk2-devel] Windows 10 build failing

2022-06-16 Thread M.T.
anocore/edk2#submodules > > > > Mike > > > > *From:* devel@edk2.groups.io *On Behalf Of *M.T. > *Sent:* Thursday, June 16, 2022 11:09 AM > *To:* devel@edk2.groups.io > *Subject:* [edk2-devel] Windows 10 build failing > > > > Hello > > > > I am

[edk2-devel] Windows 10 build failing

2022-06-16 Thread M.T.
Hello I am trying to setup a windows build system with MSVS2017 or MSVS2022, but I keep running into the same issue over and over, and I can't seem to figure it out. I followed several guides on how to get everything working, but also, I can't build MdeModulePkg, which on linux was nowhere near t

[edk2-devel] Physical Address of buffer

2022-06-13 Thread M.T.
Hello I'm trying to port some code which interacts with memory mapped hardware registers. The original code was developed in 2015-18 on edk2, and does not want to compile anymore. The way it works is there are three 32 bit registers. The first is a status/command register which I read to determin

Re: [edk2-devel] including redfish libs results in multiple definitions of symbols

2022-05-26 Thread M.T.
versions of them? I'm pretty sure > that's the logic behind it -- its a hack of sorts to try to get OOP out of > a purely procedural language. It works, but I don't think its necessarily > ideal. But there really isn't much of an alternative. Then again, I might > be

[edk2-devel] including redfish libs results in multiple definitions of symbols

2022-05-25 Thread M.T.
Hello I'm working on a small UEFI shell app. I was hoping to make use of the JsonLib found in the Redfish Package. When I include the Redfish JsonLib and it's dependencies: JsonLib|RedfishPkg/Library/JsonLib/JsonLib.inf Ucs2Utf8Lib|RedfishPkg/Library/BaseUcs2Utf8Lib/BaseUcs2Utf8Lib.inf RedfishCrt

[edk2-devel] TCP/IP Connection

2022-04-28 Thread M.T.
Hello I'm very new to edk2 and I've been trying to figure out how to get a TCP/IP connection going from a UEFI Shell app. The intention is to have a simple client which will connect to a host that will send over some data for testing. I am using qemu and I also have a system which this is going to

[edk2-devel] edk2-libc Python Build issue

2022-04-06 Thread M.T.
Hello I am trying to build the Python environment for UEFI as per Py368ReadMe.txt. I am doing this on Ubuntu 20.04.4 LTS with GCC5 for X64, all instructions seem to be meant for windows and MSFT. I was able to build everything else and verify that it works, so I don't see why this should be an iss