From: John Hodge Date: Sat, 21 Jan 2012 01:18:55 +0000 (+0800) Subject: Oops, forgot a file from x86 fixes X-Git-Tag: rel0.15~792^2~30 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=134d42728fde2f2670202284b928e4c4e792643a;p=tpg%2Facess2.git Oops, forgot a file from x86 fixes --- 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 +