Giter Club home page Giter Club logo

Comments (4)

phip1611 avatar phip1611 commented on September 21, 2024

Good catch!

For reference: https://uefi.org/specs/UEFI/2.10/12_Protocols_Console_Support.html#efi-graphics-output-protocol-querymode

from uefi-rs.

phip1611 avatar phip1611 commented on September 21, 2024

Hm, I don't see how we can easily fix this without having access to the boot services. Probably, this is the point where we should consider #905, i.e., having the boot services stored in a global static.

What do you think, @nicholasbishop ?

I've set up a PR that comes with a breaking change:
#969

@JarlEvanson Did you spot this by looking at the code or by with some nice debugging tooling? I'm curious

from uefi-rs.

JarlEvanson avatar JarlEvanson commented on September 21, 2024

I was looking at the specification and noticed that it returned a callee allocated buffer, but the uefi-rs implementation didn't take BootServices to deallocate it.

from uefi-rs.

nicholasbishop avatar nicholasbishop commented on September 21, 2024

Should be fixed now with Philipp's PR merged. Thanks again for filing this issue :)

Re comment 3, added a note about this to #893 (the "add a global table pointer" issue).

from uefi-rs.

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.