Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/arch/amd64/include Define IDTVEC_END(), from i386/asm.h.



details:   https://anonhg.NetBSD.org/src/rev/e359ad94ae95
branches:  trunk
changeset: 787533:e359ad94ae95
user:      uebayasi <uebayasi%NetBSD.org@localhost>
date:      Sat Jun 22 07:31:36 2013 +0000

description:
Define IDTVEC_END(), from i386/asm.h.

diffstat:

 sys/arch/amd64/include/asm.h |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r 8ce34a5b16f7 -r e359ad94ae95 sys/arch/amd64/include/asm.h
--- a/sys/arch/amd64/include/asm.h      Sat Jun 22 06:57:30 2013 +0000
+++ b/sys/arch/amd64/include/asm.h      Sat Jun 22 07:31:36 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: asm.h,v 1.16 2013/06/21 02:47:06 uebayasi Exp $        */
+/*     $NetBSD: asm.h,v 1.17 2013/06/22 07:31:36 uebayasi Exp $        */
 
 /*-
  * Copyright (c) 1990 The Regents of the University of California.
@@ -79,9 +79,13 @@
 #ifdef __STDC__
 #define        IDTVEC(name) \
        ALIGN_TEXT; .globl X ## name; .type X ## name,@function; X ## name:
+#define        IDTVEC_END(name) \
+       .size X ## name, . - X ## name
 #else 
 #define        IDTVEC(name) \
        ALIGN_TEXT; .globl X/**/name; .type X/**/name,@function; X/**/name:
+#define        IDTVEC_END(name) \
+       .size X/**/name, . - X/**/name
 #endif /* __STDC__ */ 
 #endif /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index