News for hackers. Stuff that matters.
Re:Boot a linux kernel right inside your browser. by nupark2 on Tuesday May 17, 2011 @11:16AM (#2556589)
From what I can see from the minimized JS, it:

- Loads the linux binary and the root memory disk image into 'memory' at the expected addresses (0x100000 and 0x400000, respectively)

- Sets the interpreted x86 CPU's EIP to the kernel's entry point

- Initializes additional requisite register state

- Starts execution.

Take a look at load_binary() and start() functions.

[edit] rickard already discussed this here: http://news.ycombinator.com/item?id=2555552

There are no comments on this comment yet.