summaryrefslogtreecommitdiff
path: root/sys/include/arch/amd64/frame.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/include/arch/amd64/frame.h')
-rw-r--r--sys/include/arch/amd64/frame.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/sys/include/arch/amd64/frame.h b/sys/include/arch/amd64/frame.h
index a132e4c..2bd9a7c 100644
--- a/sys/include/arch/amd64/frame.h
+++ b/sys/include/arch/amd64/frame.h
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2023-2024 Ian Marco Moffett and the Osmora Team.
+ * Copyright (c) 2023-2025 Ian Marco Moffett and the Osmora Team.
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
@@ -58,4 +58,6 @@ struct trapframe {
uint64_t ss;
};
+#define TF_IP(TFP) ((TFP)->rip)
+
#endif /* !_MACHINE_FRAME_H_ */