[SharpOS Developers] patches: Cpuid brand, PCI, AOT proposal

2008-01-08 Thread Stanisław Pitucha
Hi,
It was my first time with SharpOS today. I've changed a couple of
things, and here are the patches:
- I've noticed that qemu throws strange bytes into cpuid brand. It
should be reported as unavailable in this case.
- PCI handling sample. It's just checking for PCI and listing card
IDs... I'll work on it some more. Command for listing is 'lspci', like
on Linux.
- Aot proposed optimalisation - I was trying to browse generated
kernel in disassembler, but there were definitely too many "xor
eax,eax"-es :) This patch reduces it to only one per Block (not
method). I assume, that variable initialization will always be at the
beginning of the block, but maybe I'm not right? It didn't cause me
any troubles so far... Or maybe there is some other layer in AOT where
optimalisations should go?


patch.cpuidBrand
Description: Binary data


patch.pci
Description: Binary data


patch.aotEax
Description: Binary data
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers


Re: [SharpOS Developers] patches: Cpuid brand, PCI, AOT proposal

2008-01-08 Thread Bruce Markham
viraptor:
Excellent!

The CPUID patch is effective as of revision 708.

The AOT patch is effective as of revision 709. (Honestly, I don't understand
why that xor'ing needs to even take place, but since DarxKies is unavailable
for comment, and your patch doesn't break any tests, I let it on through.)

The PCI patch is effective as of revision 710. Your submitted patch omitted
your changes to IO.cs, but I worked around that - as I've actually been
doing some PCI work offline.

I'm glad you (as in, at least someone), has put forth some PCI work, as my
own personal pursuit in the manner involved me getting way in over my head.
But hopefully now that object support is getting in, we can all sit down and
figure out how we want to abstract hardware and start doing fun stuff with
it.

Regardless, the patches are most appreciatted, and we look forward to
working with you some more!
-Bruce
 aka illuminus
-
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace___
SharpOS-Developers mailing list
SharpOS-Developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sharpos-developers