Giter Club home page Giter Club logo

Comments (5)

xCuri0 avatar xCuri0 commented on August 26, 2024

Not to my knowledge but it should be technically possible.

You will first need to modify ReBarDxe to read an offset in the Setup variable which will be the easiest part.

The hard part will be modifying the UEFI Internal Form Representation (IFR) to add an entry for Resizable BAR that controls the offset at in the Setup variable that you previously set. But no such IFR editor currently exists

@NikolajSchlej I've seen your work on IFR Extractor and UEFITool do you think it would be possible to modify the UEFI IFR structures to add (or replace if size limitation) a new entry ?

from rebaruefi.

NikolajSchlej avatar NikolajSchlej commented on August 26, 2024

Not via AMIBCP, no, but a DXE driver can indeed publish its own HII structures without a need to modify anything. Intel RAID OROMs do so, so do network card drivers and some other stuff. You can add this to ReBarDxe by reading this part of Driver Writers Guide: https://github.com/tianocore-docs/edk2-UefiDriverWritersGuide/tree/master/12_uefi_driver_configuration

from rebaruefi.

NikolajSchlej avatar NikolajSchlej commented on August 26, 2024

This assumes that ReBarDxe can be loaded before BIOS Setup is shown, which can be achieved by either adding it to DXE volume, or using DriverXXXX mechanism to load it in early BDS.

from rebaruefi.

xCuri0 avatar xCuri0 commented on August 26, 2024

@NikolajSchlej Didn't know this existed thanks for sharing. Would have gone with this method instead of current NVRAM variable if I knew at the start

And yes it's loaded very early during boot before PCI resources are even allocated

from rebaruefi.

xtomasnemec avatar xtomasnemec commented on August 26, 2024

Thanks for the info

from rebaruefi.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.