Date: Thu, 26 Aug 2010 10:10:06 -0600 (MDT) From: "M. Warner Losh" <imp@bsdimp.com> To: PMahan@adaranet.com Cc: freebsd-mips@FreeBSD.org Subject: Re: Is the MIPS kernel buildable from HEAD? Message-ID: <20100826.101006.597119736749536018.imp@bsdimp.com> In-Reply-To: <20100826.094630.94843338838666386.imp@bsdimp.com> References: <20100825.232923.287595822763821210.imp@bsdimp.com> <32AB5C9615CC494997D9ABB1DB12783C024C875653@SJ-EXCH-1.adaranet.com> <20100826.094630.94843338838666386.imp@bsdimp.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In message: <20100826.094630.94843338838666386.imp@bsdimp.com>
"M. Warner Losh" <imp@bsdimp.com> writes:
: : Also, I think our problem is with the a3 register passed in as part of
: : platform_start() in cavium/octeon_machdep.c. We have the following in
: : mips/lowcore.S -
: :
: : #if defined(TARGET_OCTEON)
: : la a0, app_descriptor_addr
: : sw a3, 0(a0) /* Store app descriptor ptr */
: : #endif
: :
: : So we are storing the value of a3 into a global that we later use in
: : octeon32/Octeon_machdep.c -
:
: Yea. The old code did that. We removed it because we were passing a3
: into the platform_start routine directly. I had to fix some of locore
: to not clobber the a3 register, however, to make it useful... A quick
: look at locore.S shows
that I forgot to finish this paragraph...
"shows that all the a* registers aren't used at all, so should be
passed unmodified into platform_start.
Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100826.101006.597119736749536018.imp>
