PERFORCE change 30162 for review
Peter Wemm
peter at FreeBSD.org
Wed Apr 30 15:21:12 PDT 2003
http://perforce.freebsd.org/chv.cgi?CH=30162
Change 30162 by peter at 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");
}
More information about the p4-projects
mailing list