Hi,
currently we have 3 different files with stage0 asm code sharing lots of delicate code: - amd/stage0.S - geodelx/stage0.S - stage0_i586.S and all of them share at least the complete 16bit code which is near unreadable in itself.
Can we extract the 16bit code into a common file and include it? I know that choice isn't going to be too popular because it makes the code more greppy. However, keeping all instances of that code in sync is a major headache and we even have remaining bugs in the common copied 32bit parts of that code. If that's not possible, I'd like to at least enforce a rule which keeps the common 16-bit code bit-for-bit identical including comments.
Regards, Carl-Daniel
On Mon, Oct 6, 2008 at 1:15 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Hi,
currently we have 3 different files with stage0 asm code sharing lots of delicate code:
- amd/stage0.S
- geodelx/stage0.S
- stage0_i586.S
and all of them share at least the complete 16bit code which is near unreadable in itself.
Can we extract the 16bit code into a common file and include it? I know that choice isn't going to be too popular because it makes the code more greppy. However, keeping all instances of that code in sync is a major headache and we even have remaining bugs in the common copied 32bit parts of that code. If that's not possible, I'd like to at least enforce a rule which keeps the common 16-bit code bit-for-bit identical including comments.
one file is fine. The v32 code is a total nightmare, so I would really like to avoid turning it into that mess.
I almost have a kscope setup ready for v3 and it will make it far less greppy! It's nice.
ron
What's happening to my typing today? Try again. I think the dbm690t work fried my brain.
On Mon, Oct 6, 2008 at 1:46 PM, ron minnich rminnich@gmail.com wrote:
On Mon, Oct 6, 2008 at 1:15 PM, Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net wrote:
Hi,
currently we have 3 different files with stage0 asm code sharing lots of delicate code:
- amd/stage0.S
- geodelx/stage0.S
- stage0_i586.S
and all of them share at least the complete 16bit code which is near unreadable in itself.
Can we extract the 16bit code into a common file and include it? I know that choice isn't going to be too popular because it makes the code more greppy. However, keeping all instances of that code in sync is a major headache and we even have remaining bugs in the common copied 32bit parts of that code. If that's not possible, I'd like to at least enforce a rule which keeps the common 16-bit code bit-for-bit identical including comments.
one file is fine. The v32 code is a total nightmare, so I would really like to avoid turning it into that mess.
One include file is fine. I want to avoid the v2 experience but there is a middle ground and I think you could find it.
Thanks
ron
On 06.10.2008 22:47, ron minnich wrote:
One include file is fine. I want to avoid the v2 experience but there is a middle ground and I think you could find it.
Thanks, I'll post a patch.
Regards, Carl-Daniel