-/* $OpenBSD: asi_asm.S,v 1.2 2003/07/12 07:09:25 jason Exp $ */
+/* $OpenBSD: asi_asm.S,v 1.3 2024/08/06 05:39:48 claudio Exp $ */
/*
* Copyright (c) 2003 Jason L. Wright (jason@thought.net)
*/
#include <machine/asm.h>
+#define _LOCORE
#include <machine/ctlreg.h>
/* void asm_ldq_asi(int asi, struct fpquad *r) %f0 = *r */
#!/usr/bin/perl
-# $OpenBSD: genasm.pl,v 1.2 2003/07/13 06:39:44 jason Exp $
+# $OpenBSD: genasm.pl,v 1.3 2024/08/06 05:39:48 claudio Exp $
#
# Copyright (c) 2003 Jason L. Wright (jason@thought.net)
# All rights reserved.
#
print "#include <machine/asm.h>\n";
+print "#define _LOCORE\n";
print "#include <machine/ctlreg.h>\n\n";
for ($i = -4096; $i <= 4095; $i++) {
#!/usr/bin/perl
-# $OpenBSD: genc.pl,v 1.4 2004/08/05 11:39:37 art Exp $
+# $OpenBSD: genc.pl,v 1.5 2024/08/06 05:39:48 claudio Exp $
#
# Copyright (c) 2003 Jason L. Wright (jason@thought.net)
# All rights reserved.
print <<MY__EOF
#include <stdio.h>
+#include <stdlib.h>
+#include <string.h>
#include <err.h>
#include "fpregs.h"