Git conversion: Make reactos the root directory, move rosapps, rostests, wallpapers...
[reactos.git] / reactos / hal / halx86 / amd64 / mps.S
diff --git a/reactos/hal/halx86/amd64/mps.S b/reactos/hal/halx86/amd64/mps.S
deleted file mode 100644 (file)
index 6d1b33c..0000000
+++ /dev/null
@@ -1,97 +0,0 @@
-/* 
- * COPYRIGHT:       See COPYING in the top level directory
- * PROJECT:         ReactOS kernel
- * FILE:            hal/halx86/amd64/mps.S
- * PURPOSE:         Intel MultiProcessor specification support
- * PROGRAMMER:      Casper S. Hornstrup (chorns@users.sourceforge.net)
- */
-
-/* INCLUDES ******************************************************************/
-
-#include <asm.inc>
-
-#include <ksamd64.inc>
-
-/* FUNCTIONS *****************************************************************/
-
-#define BEFORE \
-  cld; \
-  push rax; \
-  push rbx; \
-  push rcx; \
-  push rdx; \
-  push rsi; \
-  push rdi; \
-  push fs; \
-  push gs; \
-  
-#define AFTER \
-  pop  gs; \
-  pop  fs; \
-  pop  rdi; \
-  pop  rsi; \
-  pop  rdx; \
-  pop  rcx; \
-  pop  rbx; \
-  pop  rax; \
-
-#ifdef CONFIG_SMP
-PUBLIC MpsIpiInterrupt
-MpsIpiInterrupt:
-    /* Save registers */       
-    BEFORE
-
-    /* Call the C handler */
-    call  MpsIpiHandler
-
-    /* Return to the caller */
-    AFTER
-    iret
-#endif
-  
-PUBLIC MpsErrorInterrupt
-MpsErrorInterrupt:
-    /* Save registers */       
-    BEFORE
-
-    /* Call the C handler */
-    call  MpsErrorHandler
-
-    /* Return to the caller */
-    AFTER
-    iret
-
-
-PUBLIC MpsSpuriousInterrupt
-MpsSpuriousInterrupt:
-    /* Save registers */       
-    BEFORE
-
-    /* Call the C handler */
-    call  MpsSpuriousHandler
-
-    /* Return to the caller */
-    AFTER
-    iret
-
-PUBLIC MpsTimerInterrupt
-MpsTimerInterrupt:
-    /* Save registers */       
-    BEFORE
-
-    mov        ebx, 0xef
-       mov eax, 0xceafbeef
-       push rax
-       push rsp
-       push rbx
-       call MpsTimerHandler
-       pop rax
-       pop rax
-       pop rax
-
-    /* Return to the caller */
-       AFTER
-       iret
-  
-END
-/* EOF */