Re: Two SoC ideas (comments are welcome!)

2007-04-07 Thread Yoshinori K. Okuji
On Thursday 29 March 2007 04:35, coly wrote: > This is a good idea. The new structures can do what "modaddr" command > can, but more flexible. It is a bit different. The argument about "modaddr" was to specify explicitly where modules will be loaded, so that an OS image does not have to care abou

Re: Two SoC ideas (comments are welcome!)

2007-03-28 Thread coly
This is a good idea. The new structures can do what "modaddr" command can, but more flexible. Coly 在 2007-03-28三的 19:45 +0100,Yoshinori K. Okuji写道: > On Sunday 25 March 2007 00:38, Andrei E. Warkentin wrote: > > I was thinking something along an array of memory descriptor structs, > > listing - >

Re: Two SoC ideas (comments are welcome!)

2007-03-28 Thread Yoshinori K. Okuji
On Sunday 25 March 2007 00:38, Andrei E. Warkentin wrote: > I was thinking something along an array of memory descriptor structs, > listing - > - Base > - Length > - Type (Conventional memory, Kernel + Modules, GRUB structures like > the MBI > - Attributes (read protected, write protected, cacheabi

Re: Two SoC ideas (comments are welcome!)

2007-03-24 Thread Andrei E. Warkentin
I was thinking something along an array of memory descriptor structs, listing - - Base - Length - Type (Conventional memory, Kernel + Modules, GRUB structures like the MBI - Attributes (read protected, write protected, cacheability attributes) The advantages over the old mmap_ entries being

Re: Two SoC ideas (comments are welcome!)

2007-03-24 Thread Yoshinori K. Okuji
On Saturday 24 March 2007 21:14, Andrei E. Warkentin wrote: > Actually, even now a Multiboot kernel has to do way too much work in > terms of memory initialization. The real problem is that GRUB only > gives you the BIOS memory map and the lowmem/highmem, which means you > need to figure out an "i

Re: Two SoC ideas (comments are welcome!)

2007-03-24 Thread Andrei E. Warkentin
Actually, even now a Multiboot kernel has to do way too much work in terms of memory initialization. The real problem is that GRUB only gives you the BIOS memory map and the lowmem/highmem, which means you need to figure out an "in use" memory map for yourself, by seeing if any kernel modu

Re: Two SoC ideas (comments are welcome!)

2007-03-24 Thread colyli
Shen: Specify loading address for each multiboot module is not a perfect idea. Which will make kernel does more work on memory initiation. BTW kernel's loading address can be specified by multiboot header. After all, this is my feedback, just for your information. Enjoy hacking :-) Coly 在 2007-

Re: Two SoC ideas (comments are welcome!)

2007-03-24 Thread Wei Shen
Hi, I will appreciate the comments from anybody on my ideas. To Colyli: You are right. Their "*modaddr* *value*" can do the same as my "*addr* = * value*". The former told Grub to load all the rest modules starting from address *value*; while the later only specifies the current module's loadi