/*
 * alarm.S
 */


#define ASM_FILE


#include<share/segment.h>
#include<sys/syscall.h>


.text


/*
 * unsigned int alarm(unsigned int seconds)
 */
.globl alarm
alarm:
    movl	$SYS_ALARM,%eax
	lcall	$SYSCALL1_SEG,$0
	subl	$4*2,%esp
	ret
