Re: [gem5-dev] windows fs boot and simulation

2015-01-29 Thread mike upton via gem5-dev
Thanks for the feedback, everyone. I know that this is not a lightweight project. Let me digest for a bit and then discuss with my peeps. On Thu, Jan 29, 2015 at 7:43 AM, nathan binkert via gem5-dev < gem5-dev@gem5.org> wrote: > The easiest way to boot windows might be to use the X86 Xen stuff

Re: [gem5-dev] windows fs boot and simulation

2015-01-29 Thread nathan binkert via gem5-dev
The easiest way to boot windows might be to use the X86 Xen stuff (which is working, right?) and use it to run coreboot and the windows bootloader. Then at least, you don't have to worry about missing instructions/modes during the boot process. Nate On Thu, Jan 29, 2015 at 4:45 AM, Steve Reinha

Re: [gem5-dev] windows fs boot and simulation

2015-01-29 Thread Gabe Black via gem5-dev
Yes, I agree with that. Gabe On Thu, Jan 29, 2015 at 4:45 AM, Steve Reinhardt via gem5-dev < gem5-dev@gem5.org> wrote: > Thanks for all the detailed info, Gabe. > > Mike, you're right that the current SE mode code is pretty specific to > Linux. It would be a small to moderate amount of effort t

Re: [gem5-dev] windows fs boot and simulation

2015-01-29 Thread Steve Reinhardt via gem5-dev
Thanks for all the detailed info, Gabe. Mike, you're right that the current SE mode code is pretty specific to Linux. It would be a small to moderate amount of effort to support other Unix-like OSes like one of the BSDs (in fact our originally support for DEC Tru64 on Alpha is still in there). Do

Re: [gem5-dev] windows fs boot and simulation

2015-01-28 Thread Gabe Black via gem5-dev
Hi Mike. When we boot Linux on gem5, the simulator acts as the bootloader. It unpacks the kernel, provides various tables in memory that would normally be provided by the BIOS/firmware, does some setup of machine state, and then jumps to the kernel. On a real system, the components that get you to

Re: [gem5-dev] windows fs boot and simulation

2015-01-28 Thread mike upton via gem5-dev
I was going down 2 parallel paths. SE (win on win), and FS (on whatever works). I have pretty much given up on the SE windows mode. For now at least. I may revisit once cygwin/mingw support C11. Even then, there are a lot of linux-isms built into the simulator. On Wed, Jan 28, 2015 at 10:14 PM

Re: [gem5-dev] windows fs boot and simulation

2015-01-28 Thread nathan binkert via gem5-dev
I have a question. If you're trying to simulate a windows guest on a linux host. What are you doing with cygwin? On Wed, Jan 28, 2015 at 8:05 PM, mike upton via gem5-dev wrote: > I would like to get started on trying to simulate a windows x86 machine (on > top of a linux host). > I am not too

Re: [gem5-dev] windows fs boot and simulation

2015-01-28 Thread Steve Reinhardt via gem5-dev
Hi Mike, That sounds great. The real expert on the x86 boot sequence is Gabe Black; he still responds occasionally on the list, but he's at Google now and isn't as involved with gem5 as he used to be. I did the cygwin port long long ago, and abandoned it nearly as long ago; it never really worke

[gem5-dev] windows fs boot and simulation

2015-01-28 Thread mike upton via gem5-dev
I would like to get started on trying to simulate a windows x86 machine (on top of a linux host). I am not too picky about type at this point, XP, win7 or win8.1 would all be acceptable. I spent quite a while trying to get gem5 compiled under cygwin, but it is currently broken because of a lack of