PPC update

2005-12-09 Thread Hollis Blanchard
I just fixed an embarassing bug in kern/powerpc/cache.S, where if `address' is not cacheline-aligned (which is a common and reasonable thing), it would fail to flush/invalidate the last cacheline. (It takes a little thinking, but draw a picture and think about the loop termination condition and

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Yoshinori K. Okuji
On Saturday 10 December 2005 12:32 am, Marco Gerards wrote: > Wouldn't it be possible to use some other memory than the stack to > implement trampolines? It's documented quite well: By modifying GCC and a dynamic linker, it is possible. > Anyways, my primary concerns are making things work and m

Re: Video subsystem draft

2005-12-09 Thread Yoshinori K. Okuji
On Friday 09 December 2005 11:44 pm, Marco Gerards wrote: > Why are viewports needed? Because we want to set a region to display a menu, I guess. Okuji ___ Grub-devel mailing list Grub-devel@gnu.org http://lists.gnu.org/mailman/listinfo/grub-devel

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Yoshinori K. Okuji
On Friday 09 December 2005 12:40 am, Peter Jones wrote: > Now, the obvious retort to this is that no setuid programs are calling > grub, so it's not even one of those cases. That's not a good answer > either. I've got one I'd really *like* to call grub from, and it is > pm-hibernate, through cons

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
Peter Jones <[EMAIL PROTECTED]> writes: >> Would be alright if we could enable execute permission only on the specific >> pages needed (as known by GCC)? GCC provides an ENABLE_EXECUTE_STACK macro, >> but it seems that is not currently used on Linux. It is used on the various >> BSDs. > > It wo

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
Hollis Blanchard <[EMAIL PROTECTED]> writes: >> I really hope you're willing to entertain patches that remove use of >> nested functions.  If so, I'll certainly put some effort that direction >> when next I look at moving RHEL and Fedora to GRUB 2. > > I am willing to entertain them. > > Marco fou

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Peter Jones
On Fri, 2005-12-09 at 16:49 -0600, Hollis Blanchard wrote: > On Thursday 08 December 2005 10:27, Peter Jones wrote: > > > > That being said, what's the reasoning for using this uncommon and > > lossely defined extension in the first place? The way GRUB (both 2 and > > Legacy) uses nested functions

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Hollis Blanchard
On Thursday 08 December 2005 10:27, Peter Jones wrote: > > That being said, what's the reasoning for using this uncommon and > lossely defined extension in the first place?  The way GRUB (both 2 and > Legacy) uses nested functions, it's no better than just having a method > vector, and certainly no

Re: Video subsystem draft

2005-12-09 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Vincent Pelletier wrote: >> By the way, I think we should start a discussion on the API common to >> all architectures for framebuffer handling. > > Currently there is a terminal implementation that uses video subsystem > to render screen. So basicly

Re: Video subsystem draft

2005-12-09 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > If I remember correctly I also saw caching of sectors in disk code, so > basicly if disk cache is big enough old font data will already be in > memory. And this will only cause little delay as there is no I/O > latency. Actual testing in real hardwar

Re: problem in usage of grub_errno...

2005-12-09 Thread Marco Gerards
Vesa Jääskeläinen <[EMAIL PROTECTED]> writes: > Some folks might have overlooked my earlier post as I wrote it to video > subsystem thread. As this problem needs some kind of resolution and it > affects larger area of code than just video subsystem it needs to be > discussed first. > > Problem is

problem in usage of grub_errno...

2005-12-09 Thread Vesa Jääskeläinen
Some folks might have overlooked my earlier post as I wrote it to video subsystem thread. As this problem needs some kind of resolution and it affects larger area of code than just video subsystem it needs to be discussed first. Problem is this: 1. error occures and grub_errno is being set to some

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
[EMAIL PROTECTED] writes: > Since the GRUB2 tools built using a Linux GCC compiler will suffice at > the moment, I can see why the team is not overly concerned with this > issue. If GRUB2 is going to be portable(Mac OS X), then some changes > will be needed to accomplish this goal. GCC is a GNU p

Re: GRUB2 Build on Mac OS X

2005-12-09 Thread Marco Gerards
Andrei Warkentin <[EMAIL PROTECTED]> writes: > On Dec 8, 2005, at 4:01 PM, [EMAIL PROTECTED] wrote: > >> The Mac OS X GCC compiler will not build GRUB2, due static linking >> at address 0x2000; this error can be confirmed during the configure >> process. If I could build GRUB2 using the Mac OS X G