# UEFI: Querying memory map size with no allocation · gitcafe/zig

[View on GitCafe](https://git.cafe/gitcafe/zig/commit/680d3cd1fc285a661bb32f90090a8ea2da986f75)

Repository: [gitcafe/zig](https://git.cafe/gitcafe/zig)

Visibility: public

Requested revision: 680d3cd1fc285a661bb32f90090a8ea2da986f75

Requested commit: 680d3cd1fc285a661bb32f90090a8ea2da986f75

Commit: 680d3cd1fc285a661bb32f90090a8ea2da986f75

Tree: 94f414162f102a4620c94b0b49eee6be0acfaa34

Author: David Gonzalez Martin

Committer: Veikka Tuominen

## Message

```
UEFI: Querying memory map size with no allocation

This makes possible to query the memory map size from EFI firmware
without making any allocation beforehand. This makes possible to be
precise about the size of the allocation which will own a copy of
the memory map from the UEFI application.

```

## Parents

- [972c39e2c00c487a483bad002ef33ca1a5c21d02](https://git.cafe/gitcafe/zig/commit/972c39e2c00c487a483bad002ef33ca1a5c21d02?format=markdown)

[Source at this commit](https://git.cafe/gitcafe/zig/tree/680d3cd1fc285a661bb32f90090a8ea2da986f75?format=markdown)
