FreeBSD/xbox: updated 7.0 patchset
John Baldwin
jhb at freebsd.org
Mon Nov 7 14:52:02 PST 2005
On Monday 07 November 2005 05:26 pm, Scott Long wrote:
> John Baldwin wrote:
> > On Monday 07 November 2005 02:44 pm, Rink Springer wrote:
> >>Hi,
> >>
> >>OK, I've updated the patchset. Changes:
> >>
> >>- opt_xbox.h is now used instead of opt_global.h
> >>- xboxfb.c should follow style(9) better
> >>- boot_font.c is no longer patched
> >>- 128MB XBOX-es should work too [1]
> >>
> >>It is fetchable from
> >>http://rink.nu/downloads/xbox-patches/xbox-7-current.v2.diff
> >>
> >>Oh, and for John's comment: The reason pic16l.s is coded in assembly, was
> >>that it was used extensively while debugging (it even resided in
> >>locore.s for a while :-), as being able to change the LED's color is
> >>immensely useful if you don't have a framebuffer working already :) This
> >>is why I'd prefer to keep this file as-is.
> >
> > You do realize that you can call C functions from assembly, right? :)
>
> If this is the only remaining technical objection, then can it be
> something that gets resolved after it goes into the tree? It's code
> that is segregated and private to the XBOX port, so it would be a shame
> to make it stall this great work.
Yes, certainly, that is only a minor nit! I just tend to prefer that we keep
as much code in C as possible rather than asm as C has a lower learning
curve.
--
John Baldwin <jhb at FreeBSD.org> <>< http://www.FreeBSD.org/~jhb/
"Power Users Use the Power to Serve" = http://www.FreeBSD.org
More information about the freebsd-arch
mailing list