aboutsummaryrefslogtreecommitdiff
path: root/core/sys/darwin
diff options
context:
space:
mode:
authorColin Davidson <colrdavidson@gmail.com>2025-06-08 16:16:34 -0700
committerColin Davidson <colrdavidson@gmail.com>2025-06-08 16:16:34 -0700
commitb1ed22d84f2aae617c90c60701e9f25345cab980 (patch)
tree6715a111e93880576ea6cc477a0c969f6bbe4767 /core/sys/darwin
parentf1fdd1a8b9a53d34b59f8bac86ebba5f35189f28 (diff)
fix frequency grab
Diffstat (limited to 'core/sys/darwin')
-rw-r--r--core/sys/darwin/mach_darwin.odin4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/sys/darwin/mach_darwin.odin b/core/sys/darwin/mach_darwin.odin
index 01affa6e8..2c8f38002 100644
--- a/core/sys/darwin/mach_darwin.odin
+++ b/core/sys/darwin/mach_darwin.odin
@@ -123,7 +123,7 @@ x86_thread_state32_t :: struct {
}
X86_THREAD_STATE32_COUNT :: size_of(x86_thread_state32_t) / size_of(u32)
-x86_thread_state64_t :: struct {
+x86_thread_state64_t :: struct #packed {
rax: u64,
rbx: u64,
rcx: u64,
@@ -148,7 +148,7 @@ x86_thread_state64_t :: struct {
}
X86_THREAD_STATE64_COUNT :: size_of(x86_thread_state64_t) / size_of(u32)
-arm_thread_state64_t :: struct {
+arm_thread_state64_t :: struct #packed {
x: [29]u64,
fp: u64,
lr: u64,