PERFORCE change 128649 for review

Juli Mallett juli at clockworksquid.com
Sun Nov 4 16:21:03 PST 2007


a3 on startup should contain memsize on malta.  If you don't clobber a0-a4
before calling into mips_init from the assembly startup, you can just declare it
as taking 4 args (argc, argv, envp, memsize) on malta.

* Oleksandr Tymoshenko <gonzo at FreeBSD.org> [ 2007-11-04 ]
	[ PERFORCE change 128649 for review ]
> http://perforce.freebsd.org/chv.cgi?CH=128649
> 
> Change 128649 by gonzo at gonzo_jeeves on 2007/11/04 23:09:27
> 
> 	o gxemul emulates 64M of memory
> 
> Affected files ...
> 
> .. //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#3 edit
> 
> Differences ...
> 
> ==== //depot/projects/mips2/src/sys/mips/mips32/malta/malta_machdep.c#3 (text+ko) ====
> 
> @@ -167,7 +167,7 @@
>  	printf("entry: mips_init()\n");
>  
>  	bootverbose = 1;
> -	realmem = btoc(16 << 20);
> +	realmem = btoc(64 << 20);
>  
>  	for (i = 0; i < 10; i++) {
>  		phys_avail[i] = 0;

-- 


More information about the p4-projects mailing list