Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Apr 2003 15:21:09 -0700 (PDT)
From:      Peter Wemm <peter@FreeBSD.org>
To:        Perforce Change Reviews <perforce@freebsd.org>
Subject:   PERFORCE change 30162 for review
Message-ID:  <200304302221.h3UML9Kw010102@repoman.freebsd.org>

next in thread | raw e-mail | index | archive | help
http://perforce.freebsd.org/chv.cgi?CH=30162

Change 30162 by peter@peter_daintree on 2003/04/30 15:20:48

	Ok, make that 3 submits for the price of one.  Finish renaming
	x86_64_tramp to amd64_tramp (I hope).

Affected files ...

.. //depot/projects/hammer/sys/boot/i386/libi386/amd64_tramp.S#2 edit
.. //depot/projects/hammer/sys/boot/i386/libi386/elf64_freebsd.c#11 edit

Differences ...

==== //depot/projects/hammer/sys/boot/i386/libi386/amd64_tramp.S#2 (text+ko) ====

@@ -39,8 +39,8 @@
 	.text
 	.code32
 
-	.globl	x86_64_tramp
-x86_64_tramp:
+	.globl	amd64_tramp
+amd64_tramp:
 	/* Be sure that interrupts are disabled */
 	cli
 

==== //depot/projects/hammer/sys/boot/i386/libi386/elf64_freebsd.c#11 (text+ko) ====

@@ -41,7 +41,7 @@
 
 static int	elf64_exec(struct preloaded_file *amp);
 
-struct file_format x86_64_elf = { elf64_loadfile, elf64_exec };
+struct file_format amd64_elf = { elf64_loadfile, elf64_exec };
 
 #define PG_V	0x001
 #define PG_RW	0x002
@@ -58,7 +58,7 @@
 u_int32_t entry_hi;
 u_int32_t entry_lo;
 
-extern x86_64_tramp();
+extern amd64_tramp();
 
 /*
  * There is an a.out kernel and one or more a.out modules loaded.  
@@ -111,7 +111,7 @@
 #endif
 
     dev_cleanup();
-    __exec((void *)VTOP(x86_64_tramp), modulep, kernend);
+    __exec((void *)VTOP(amd64_tramp), modulep, kernend);
 
     panic("exec returned");
 }



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200304302221.h3UML9Kw010102>