1: /* 2: * Copyright (c) 1987 Regents of the University of California. 3: * All rights reserved. The Berkeley software License Agreement 4: * specifies the terms and conditions for redistribution. 5: */ 6: 7: #ifdef SYSLIBC_SCCS 8: _sccsid: <@(#)lock.s 2.5 (Berkeley) 1/29/87\0> 9: .even 10: #endif SYSLIBC_SCCS 11: 12: #include "SYS.h" 13: 14: SYSCALL(lock,norm) / / trap 53 -> [kernel] -> syscall() -> via sysent[] -> handler: lock /