Skip to contentSkip to conversation

grub2 ChangeLog conf/i386-pc.rmk conf/powerpc-i...

DISCUSSION Vesa Jääskeläinen 4 participants 8 messages Jul 25, 2007 – Nov 10, 2007 1 message not in the archive

lore
Share & tools
lore
#2 lore raw

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

Quoted 15 lines · Vesa Jääskeläinen
Quoted 3 lines · Jerone Young

Added files:
include : multiboot.h multiboot2.h
include/grub : multiboot.h multiboot2.h multiboot_loader.h

include directory should be clean of grub includes, so I suppose first line is mistake commit?

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#3 lore raw
Quoted 6 lines · Jerone Young

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

It would be better to discuss such things on the list first, clearly. The directory structure is, unfortunately, quite permanent in CVS and difficult to change properly.

How about using include/multiboot/*.h instead?

--
Marco

#4 lore raw
Quoted 9 lines · Marco Gerards
Quoted 6 lines · Jerone Young

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

Quoted 5 lines

It would be better to discuss such things on the list first, clearly. The directory structure is, unfortunately, quite permanent in CVS and difficult to change properly.

How about using include/multiboot/*.h instead?

That could work also. Having include/multiboot/*.h wouldn't hurt. Though is it necessary to have everything in it's own directory under the include directory? I'm in favor either way.

Quoted 12 lines

--
Marco

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#5 lore raw
Quoted 14 lines · Jerone Young
Quoted 13 lines · Marco Gerards
Quoted 6 lines · Jerone Young

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

It would be better to discuss such things on the list first, clearly. The directory structure is, unfortunately, quite permanent in CVS and difficult to change properly.

Quoted 5 lines
Quoted 1 line

How about using include/multiboot/*.h instead?

That could work also. Having include/multiboot/*.h wouldn't hurt. Though is it necessary to have everything in it's own directory under the include directory? I'm in favor either way.

It is not a big issue for me and changing it now would make it messy with CVS, I think. It depends on what the other developers think.

--
Marco

#6 lore raw
In reply to Jerone Young

Hello,

Quoted 6 lines · Jerone Young

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

First of all, thank you for the great contribution! I guess I really must finish writing up the specification now...

About the headers, I don't like the location, either. As I said before, the purpose of GRUB is not to provide a library. Even if code can be reused, this is out of our concern. And, more importantly, the reason why the header files are put under grub/ is to avoid conflicts with system headers. Although the probablity of having such a conflict on multiboot.h, I still prefer to segregate our own headers under grub.

Thanks,
Okuji

#7 lore raw

That sounds reasonable. So perhaps having a multiboot directory as Marco specified is the best way to go then. Let me know if this is an a way everyone agrees on and I'll get a patch together to make things nice for everyone.

Quoted 29 lines · Yoshinori K. Okuji

Hello,

Quoted 6 lines · Jerone Young

This was no mistake. So here is the thinking here (I figured this would come up). The multiboot heads outside of the grub directory are not grub specific. This gives other operating systems or programs (in this case GPL 3 compatible operating systems) the ability to include these headers and use them. They mainly contain definitions that are not just specific to grub, but multiboot.

First of all, thank you for the great contribution! I guess I really must finish writing up the specification now...

About the headers, I don't like the location, either. As I said before, the purpose of GRUB is not to provide a library. Even if code can be reused, this is out of our concern. And, more importantly, the reason why the header files are put under grub/ is to avoid conflicts with system headers. Although the probablity of having such a conflict on multiboot.h, I still prefer to segregate our own headers under grub.

Thanks,
Okuji

_______________________________________________
Grub-devel mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/grub-devel

#8 lore raw
Quoted 4 lines · Jerone Young

That sounds reasonable. So perhaps having a multiboot directory as Marco specified is the best way to go then. Let me know if this is an a way everyone agrees on and I'll get a patch together to make things nice for everyone.

I hear no objections... :-)

Too bad CVS sucks for these kinds of things :-)

--
Marco