From 134d42728fde2f2670202284b928e4c4e792643a Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sat, 21 Jan 2012 09:18:55 +0800 Subject: [PATCH] Oops, forgot a file from x86 fixes --- Kernel/arch/x86/include/arch_int.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 Kernel/arch/x86/include/arch_int.h diff --git a/Kernel/arch/x86/include/arch_int.h b/Kernel/arch/x86/include/arch_int.h new file mode 100644 index 00000000..81ea2d77 --- /dev/null +++ b/Kernel/arch/x86/include/arch_int.h @@ -0,0 +1,22 @@ +/* + * Acess2 Kernel + * - By John Hodge (thePowersGang) + * + * x86 Arch - Internal Definitions + * - arch/x86/include/arch_int.h + */ +#ifndef _ARCH_INT_H_ +#define _ARCH_INT_H_ + +/** + * \brief Spinlock primative atomic set-if-zero loop + */ +extern void __AtomicTestSetLoop(Uint *Ptr, Uint Value); + +/** + * \brief Clear and free an address space + */ +extern void MM_ClearSpace(Uint32 CR3); + +#endif + -- 2.20.1