summaryrefslogtreecommitdiff
path: root/zap/source/amd64/bs
diff options
context:
space:
mode:
Diffstat (limited to 'zap/source/amd64/bs')
-rw-r--r--zap/source/amd64/bs/trap.s10
1 files changed, 10 insertions, 0 deletions
diff --git a/zap/source/amd64/bs/trap.s b/zap/source/amd64/bs/trap.s
new file mode 100644
index 0000000..93138e5
--- /dev/null
+++ b/zap/source/amd64/bs/trap.s
@@ -0,0 +1,10 @@
+# Copyright 2022-2023 Gabriel Jensen.
+# This Source Code Form is subject to the terms of the Mozilla Public License, v. 2.0.
+# If a copy of the MPL was not distributed with this file, You can obtain one at <https://mozilla.org/MPL/2.0>.
+
+.intel_syntax noprefix
+
+.globl zap_priv_trap
+
+zap_priv_trap:
+ ud2