Module Name:    src
Committed By:   joerg
Date:           Thu Jun 16 13:51:26 UTC 2011

Modified Files:
        src/sys/sys: cdefs.h

Log Message:
Add an optional MD calling convention flag for use in libsa when space
optimisation is critical. Use this on i386 to switch to register passing
calling convention for the file system entry points and most assembler
call backs that have to preserve at least 3 registers.


To generate a diff of this commit:
cvs rdiff -u -r1.84 -r1.85 src/sys/sys/cdefs.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/sys/sys/cdefs.h
diff -u src/sys/sys/cdefs.h:1.84 src/sys/sys/cdefs.h:1.85
--- src/sys/sys/cdefs.h:1.84	Sat Feb 19 02:21:21 2011
+++ src/sys/sys/cdefs.h	Thu Jun 16 13:51:26 2011
@@ -1,4 +1,4 @@
-/*	$NetBSD: cdefs.h,v 1.84 2011/02/19 02:21:21 matt Exp $	*/
+/*	$NetBSD: cdefs.h,v 1.85 2011/06/16 13:51:26 joerg Exp $	*/
 
 /*
  * Copyright (c) 1991, 1993
@@ -64,6 +64,13 @@
 #endif
 
 /*
+ * Optional marker for size-optimised MD calling convention.
+ */
+#ifndef __compactcall
+#define	__compactcall
+#endif
+
+/*
  * The __CONCAT macro is used to concatenate parts of symbol names, e.g.
  * with "#define OLD(foo) __CONCAT(old,foo)", OLD(foo) produces oldfoo.
  * The __CONCAT macro is a bit tricky -- make sure you don't put spaces

Reply via email to