2 # Copyright (c) 1998 Robert Nordier
5 # Redistribution and use in source and binary forms are freely
6 # permitted provided that the above copyright notice and this
7 # paragraph and the following disclaimer are duplicated in all
10 # This software is provided "AS IS" and without any express or
11 # implied warranties, including, without limitation, the implied
12 # warranties of merchantability and fitness for a particular
16 # $FreeBSD: src/sys/boot/i386/btx/lib/btxsys.s,v 1.2 1999/08/28 00:40:07 peter Exp $
17 # $DragonFly: src/sys/boot/i386/btx/lib/Attic/btxsys.s,v 1.3 2003/11/10 06:08:35 dillon Exp $
31 .set INT_SYS,0x30 # Interrupt number
35 __exit: xorl %eax,%eax # BTX system
36 int $INT_SYS # call 0x0
40 __exec: movl $0x1,%eax # BTX system
41 int $INT_SYS # call 0x1