/*
* GRUB -- GRand Unified Bootloader
* Copyright (C) 2010 Free Software Foundation, Inc.
*
* it under the terms of the GNU General Public License as published by
* the Free Software Foundation, either version 3 of the License, or
* (at your option) any later version.
*
* GRUB is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* You should have received a copy of the GNU General Public License
* along with GRUB. If not, see <http://www.gnu.org/licenses/>.
*/
#ifdef TARGET_NETBSD
#elif defined (TARGET_OPENBSD)
#else
#endif
#define FLAGS_NONE 0
/* open. */
pushl $0
int $SYSCALL_INT
/* write. */
pushl $0
int $SYSCALL_INT
/* IOPL. */
pushl $0
int $SYSCALL_INT
/* shutdown. */
pushl $0
pushl $0
int $SYSCALL_INT
/* exit (1). Shouldn't be reached. */
pushl $1
pushl $0
int $SYSCALL_INT
/* This section is needed for NetBSD to identify the binary. */
.long 0x7
.long 0x4
.long 0x1
.ascii "NetBSD"
.byte 0
.data
.byte 0
.long 3