Add lock_stubs.S with fake _lock_cas - just to make the kernel compile
for now.
This commit is contained in:
parent
d7d800dc0c
commit
7856f87f0d
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: files.sh3,v 1.32 2005/12/11 12:18:58 christos Exp $
|
||||
# $NetBSD: files.sh3,v 1.33 2007/02/22 22:53:26 uwe Exp $
|
||||
#
|
||||
|
||||
defflag opt_cputype.h SH3 SH4
|
||||
|
@ -17,6 +17,7 @@ file arch/sh3/sh3/exception.c
|
|||
file arch/sh3/sh3/exception_vector.S
|
||||
file arch/sh3/sh3/locore_c.c
|
||||
file arch/sh3/sh3/locore_subr.S
|
||||
file arch/sh3/sh3/lock_stubs.S
|
||||
file arch/sh3/sh3/mem.c
|
||||
file netns/ns_cksum.c ns
|
||||
file arch/sh3/sh3/pmap.c
|
||||
|
|
|
@ -0,0 +1,15 @@
|
|||
/* $NetBSD: lock_stubs.S,v 1.1 2007/02/22 22:53:26 uwe Exp $ */
|
||||
|
||||
#include <sh3/asm.h>
|
||||
|
||||
/*
|
||||
* LINTSTUB: include <sys/types.h>
|
||||
*/
|
||||
|
||||
|
||||
/*
|
||||
* LINTSTUB: Func: int _lock_cas(volatile uintptr_t *ptr, uintptr_t old, uintptr_t new);
|
||||
*/
|
||||
NENTRY(_lock_cas)
|
||||
rts
|
||||
mov #0, r0
|
Loading…
Reference in New Issue