diff src/os_cpu/bsd_x86/vm/bsd_x86_32.s @ 11153:af21010d1062

Merge
author dcubed
date Thu, 18 Jul 2013 12:35:55 -0700
parents 980532a806a5
children de6a9e811145
line wrap: on
line diff
--- a/src/os_cpu/bsd_x86/vm/bsd_x86_32.s	Wed Jul 17 13:48:15 2013 +0200
+++ b/src/os_cpu/bsd_x86/vm/bsd_x86_32.s	Thu Jul 18 12:35:55 2013 -0700
@@ -63,24 +63,6 @@
         popl     %eax
         ret
 
-        .globl  SYMBOL(SafeFetch32), SYMBOL(Fetch32PFI), SYMBOL(Fetch32Resume)
-        .globl  SYMBOL(SafeFetchN)
-        ## TODO: avoid exposing Fetch32PFI and Fetch32Resume.
-        ## Instead, the signal handler would call a new SafeFetchTriage(FaultingEIP)
-        ## routine to vet the address.  If the address is the faulting LD then
-        ## SafeFetchTriage() would return the resume-at EIP, otherwise null.
-        ELF_TYPE(SafeFetch32,@function)
-        .p2align 4,,15
-SYMBOL(SafeFetch32):
-SYMBOL(SafeFetchN):
-         movl    0x8(%esp), %eax
-         movl    0x4(%esp), %ecx
-SYMBOL(Fetch32PFI):
-         movl    (%ecx), %eax
-SYMBOL(Fetch32Resume):
-         ret
-
-
         .globl  SYMBOL(SpinPause)
         ELF_TYPE(SpinPause,@function)
         .p2align 4,,15