| author | |
| committer | |
| log | 786876c05efc55ecc9c9c05e89f754f813860436 |
| tree | 4f98317ff0074d5edceca2939fff13a70f7647dd |
| parent | 3d1652070acd01b7c871615702916425cd292a8a |
Don't know why UEFI wasn't excluded but freestanding is, probably an oversight since I want to have detailed debug info on my panic function on my Headstart bootloader.1 files changed, 1 insertions(+), 1 deletions(-)
lib/std/debug.zig+1-1| ... | ... | @@ -661,7 +661,7 @@ pub const StackIterator = struct { |
| 661 | 661 | |
| 662 | 662 | fn isValidMemory(address: usize) bool { |
| 663 | 663 | // We are unable to determine validity of memory for freestanding targets |
| 664 | if (native_os == .freestanding) return true; | |
| 664 | if (native_os == .freestanding or native_os == .uefi) return true; | |
| 665 | 665 | |
| 666 | 666 | const aligned_address = address & ~@as(usize, @intCast((mem.page_size - 1))); |
| 667 | 667 | if (aligned_address == 0) return false; |