From 80e64d4d708f32935e9ff4cf4144f66603d4100d Mon Sep 17 00:00:00 2001 From: Abdur-Rahman Mansoor Date: Thu, 25 Jul 2024 18:30:28 -0400 Subject: [PATCH] add LOCK_SPINLOCK macro --- drivers/nvme/macros.inc | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/drivers/nvme/macros.inc b/drivers/nvme/macros.inc index 0ffcefd..1f8ea19 100644 --- a/drivers/nvme/macros.inc +++ b/drivers/nvme/macros.inc @@ -26,3 +26,8 @@ macro PDEBUGF _level*, _fmt*, _bus*, _devfn*, [_args] { add esp, 12 end if } + +macro LOCK_SPINLOCK { + common + mov dword [spinlock], 1 +}