# std.os.uefi.tables: ziggify boot and runtime services \(\#23441\) · gitcafe/zig

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

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

Visibility: public

Requested revision: 5b4e982169ab660a427da8b2c28c5eb7930362e2

Requested commit: 5b4e982169ab660a427da8b2c28c5eb7930362e2

Commit: 5b4e982169ab660a427da8b2c28c5eb7930362e2

Tree: 4da8edd2834ee6eb67517121cb87e6726afa5bfd

Author: Carmen

Committer: GitHub

## Message

```
std.os.uefi.tables: ziggify boot and runtime services (#23441)

* std.os.uefi.tables: ziggify boot and runtime services

* avoid T{} syntax

Co-authored-by: linusg <mail@linusgroh.de>

* misc fixes

* work

* self-review quickfixes

* dont make MemoryMapSlice generic

* more review fixes, work

* more work

* more work

* review fixes

* update boot/runtime services references throughout codebase

* self-review fixes

* couple of fixes i forgot to commit earlier

* fixes from integrating in my own project

* fixes from refAllDeclsRecursive

* Apply suggestions from code review

Co-authored-by: truemedian <truemedian@gmail.com>

* more fixes from review

* fixes from project integration

* make natural alignment of Guid align-8

* EventRegistration is a new opaque type

* fix getNextHighMonotonicCount

* fix locateProtocol

* fix exit

* partly revert 7372d65

* oops exit data_len is num of bytes

* fixes from project integration

* MapInfo consistency, MemoryType update per review

* turn EventRegistration back into a pointer

* forgot to finish updating MemoryType methods

* fix IntFittingRange calls

* set uefi.Page nat alignment

* Back out "set uefi.Page nat alignment"

This backs out commit cdd9bd6f7f5fb763f994b8fbe3e1a1c2996a2393.

* get rid of some error.NotFound-s

* fix .exit call in panic

* review comments, add format method

* fix resetSystem data alignment

* oops, didnt do a final refAllDeclsRecursive i guess

* review comments

* writergate update MemoryType.format

* fix rename

---------

Co-authored-by: linusg <mail@linusgroh.de>
Co-authored-by: truemedian <truemedian@gmail.com>
```

## Parents

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

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