Restored used function fusword() (used by GPL math emulator).

This commit is contained in:
Bruce Evans 1995-12-10 03:11:32 +00:00
parent 81c5b5f59a
commit 965797322b
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=12713
3 changed files with 39 additions and 3 deletions

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.24 1995/10/15 18:03:42 phk Exp $
* $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $
*/
#include "assym.s" /* system definitions */
@ -504,6 +504,18 @@ ENTRY(fuswintr)
movl $-1,%eax
ret
ENTRY(fusword)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
cmpl $VM_MAXUSER_ADDRESS-2,%edx
ja fusufault
movzwl (%edx),%eax
movl $0,PCB_ONFAULT(%ecx)
ret
ENTRY(fubyte)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.24 1995/10/15 18:03:42 phk Exp $
* $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $
*/
#include "assym.s" /* system definitions */
@ -504,6 +504,18 @@ ENTRY(fuswintr)
movl $-1,%eax
ret
ENTRY(fusword)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
cmpl $VM_MAXUSER_ADDRESS-2,%edx
ja fusufault
movzwl (%edx),%eax
movl $0,PCB_ONFAULT(%ecx)
ret
ENTRY(fubyte)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)

View File

@ -30,7 +30,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
* $Id: support.s,v 1.24 1995/10/15 18:03:42 phk Exp $
* $Id: support.s,v 1.25 1995/12/09 20:40:40 phk Exp $
*/
#include "assym.s" /* system definitions */
@ -504,6 +504,18 @@ ENTRY(fuswintr)
movl $-1,%eax
ret
ENTRY(fusword)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)
movl 4(%esp),%edx
cmpl $VM_MAXUSER_ADDRESS-2,%edx
ja fusufault
movzwl (%edx),%eax
movl $0,PCB_ONFAULT(%ecx)
ret
ENTRY(fubyte)
movl _curpcb,%ecx
movl $fusufault,PCB_ONFAULT(%ecx)