mirror of
https://git.FreeBSD.org/src.git
synced 2025-01-18 15:30:21 +00:00
Fixed warnings for pointer versus int type mismatches. Addresses must
be converted to fixed-sized integers when they are passed across the binary interface to the kernel. Didn't fix rotted bits (including not passing dosdev to the kernel and serious out of dateness when initially committed).
This commit is contained in:
parent
7344a7bb2e
commit
9c9755b4f8
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=40180
@ -24,7 +24,7 @@
|
||||
* the rights to redistribute these changes.
|
||||
*
|
||||
* from: Mach, [92/04/03 16:51:14 rvb]
|
||||
* $Id$
|
||||
* $Id: boot.c,v 1.1 1997/07/11 05:52:37 joerg Exp $
|
||||
*/
|
||||
|
||||
|
||||
@ -324,8 +324,8 @@ loadprog(void)
|
||||
bootdev = MAKEBOOTDEV(maj, 0, 0, 0, 0);
|
||||
|
||||
bootinfo.bi_version = BOOTINFO_VERSION;
|
||||
bootinfo.bi_kernelname = name + ouraddr;
|
||||
bootinfo.bi_nfs_diskless = NULL;
|
||||
bootinfo.bi_kernelname = (u_int32_t)(name + ouraddr);
|
||||
bootinfo.bi_nfs_diskless = 0;
|
||||
bootinfo.bi_size = sizeof(bootinfo);
|
||||
printf("total=0x%x entry point=0x%x\n", (int)addr, (int)startaddr);
|
||||
startprog((int)startaddr, loadflags | RB_BOOTINFO, bootdev,
|
||||
|
Loading…
Reference in New Issue
Block a user