Module Name: src
Committed By: rmind
Date: Sat Mar 28 22:46:52 UTC 2009
Modified Files:
src/sys/arch/i386/i386: copy.S
Log Message:
Add few comments.
To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 src/sys/arch/i386/i386/copy.S
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/sys/arch/i386/i386/copy.S
diff -u src/sys/arch/i386/i386/copy.S:1.17 src/sys/arch/i386/i386/copy.S:1.18
--- src/sys/arch/i386/i386/copy.S:1.17 Mon Feb 23 20:27:59 2009
+++ src/sys/arch/i386/i386/copy.S Sat Mar 28 22:46:52 2009
@@ -1,4 +1,4 @@
-/* $NetBSD: copy.S,v 1.17 2009/02/23 20:27:59 rmind Exp $ */
+/* $NetBSD: copy.S,v 1.18 2009/03/28 22:46:52 rmind Exp $ */
/* NetBSD: locore.S,v 1.34 2005/04/01 11:59:31 yamt Exp $ */
/*-
@@ -65,7 +65,7 @@
*/
#include <machine/asm.h>
-__KERNEL_RCSID(0, "$NetBSD: copy.S,v 1.17 2009/02/23 20:27:59 rmind Exp $");
+__KERNEL_RCSID(0, "$NetBSD: copy.S,v 1.18 2009/03/28 22:46:52 rmind Exp $");
#include "assym.h"
@@ -95,6 +95,7 @@
/*
* The following primitives are to copy regions of memory.
+ * Label must be before all copy functions.
*/
.text
@@ -749,8 +750,14 @@
ret
DEFERRED_SWITCH_CALL
+/*
+ * Label must be after all copy functions.
+ */
x86_copyfunc_end: .globl x86_copyfunc_end
+/*
+ * Fault table of copy functions for trap().
+ */
.section ".rodata"
.globl _C_LABEL(onfault_table)
_C_LABEL(onfault_table):