<feed xmlns='http://www.w3.org/2005/Atom'>
<title>u-boot.git/arch/i386/cpu/cpu.c, branch master</title>
<subtitle>Unnamed repository; edit this file 'description' to name the repository.</subtitle>
<id>http://cgit.235523.xyz/u-boot.git/atom/arch/i386/cpu/cpu.c?h=master</id>
<link rel='self' href='http://cgit.235523.xyz/u-boot.git/atom/arch/i386/cpu/cpu.c?h=master'/>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/'/>
<updated>2011-04-13T09:43:28Z</updated>
<entry>
<title>x86: Rename i386 to x86</title>
<updated>2011-04-13T09:43:28Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-04-13T09:43:28Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=fea25720013f84427a0ba8833a38614fcaf488ba'/>
<id>urn:sha1:fea25720013f84427a0ba8833a38614fcaf488ba</id>
<content type='text'>
Signed-off-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
</content>
</entry>
<entry>
<title>x86: Code cleanup</title>
<updated>2011-04-13T09:43:26Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-04-13T09:43:26Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=dbf7115a326fa70ac3e4ca87497c7e21c6642b45'/>
<id>urn:sha1:dbf7115a326fa70ac3e4ca87497c7e21c6642b45</id>
<content type='text'>
Make the copyright notices in the x86 files consistent and update them with
proper attributions for recent updates

Also fix a few comment style/accuracy and whitespace/blank line issues

Signed-off-by: Graeme Russ &lt;graeme.russ@gmail.com&gt;
</content>
</entry>
<entry>
<title>x86: Make cpu init functions weak</title>
<updated>2011-02-12T04:11:35Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-02-12T04:11:35Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0ea76e92e989ce292f1eeadc0754b3ab9a50df16'/>
<id>urn:sha1:0ea76e92e989ce292f1eeadc0754b3ab9a50df16</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x86: Add processor flags header from linux</title>
<updated>2011-02-12T04:11:32Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-02-12T04:11:32Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=0c24c9cc71cb3e0976a4806d57450e79b349fb40'/>
<id>urn:sha1:0c24c9cc71cb3e0976a4806d57450e79b349fb40</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x86: Move Global Descriptor Table defines to processor.h</title>
<updated>2011-02-12T04:11:30Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2011-02-12T04:11:30Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=c53fd2bb6dc63c10fd2817f3041de24fd277255b'/>
<id>urn:sha1:c53fd2bb6dc63c10fd2817f3041de24fd277255b</id>
<content type='text'>
</content>
</entry>
<entry>
<title>x86: Move loading of GTD to C code</title>
<updated>2010-10-07T09:03:21Z</updated>
<author>
<name>Graeme Russ</name>
<email>graeme.russ@gmail.com</email>
</author>
<published>2010-10-07T09:03:21Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=59c6d0ef9af5fe0daf1b95992d061a10b33e23d4'/>
<id>urn:sha1:59c6d0ef9af5fe0daf1b95992d061a10b33e23d4</id>
<content type='text'>
Linux has C macros and code to load the GTD after switching to Protected
Mode. Using these greatly simplifies the assembler code
</content>
</entry>
<entry>
<title>Make sure that argv[] argument pointers are not modified.</title>
<updated>2010-07-04T21:55:42Z</updated>
<author>
<name>Wolfgang Denk</name>
<email>wd@denx.de</email>
</author>
<published>2010-06-28T20:00:46Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=54841ab50c20d6fa6c9cc3eb826989da3a22d934'/>
<id>urn:sha1:54841ab50c20d6fa6c9cc3eb826989da3a22d934</id>
<content type='text'>
The hush shell dynamically allocates (and re-allocates) memory for the
argument strings in the "char *argv[]" argument vector passed to
commands.  Any code that modifies these pointers will cause serious
corruption of the malloc data structures and crash U-Boot, so make
sure the compiler can check that no such modifications are being done
by changing the code into "char * const argv[]".

This modification is the result of debugging a strange crash caused
after adding a new command, which used the following argument
processing code which has been working perfectly fine in all Unix
systems since version 6 - but not so in U-Boot:

int main (int argc, char **argv)
{
	while (--argc &gt; 0 &amp;&amp; **++argv == '-') {
/* ====&gt; */	while (*++*argv) {
			switch (**argv) {
			case 'd':
				debug++;
				break;
			...
			default:
				usage ();
			}
		}
	}
	...
}

The line marked "====&gt;" will corrupt the malloc data structures and
usually cause U-Boot to crash when the next command gets executed by
the shell.  With the modification, the compiler will prevent this with
an
	error: increment of read-only location '*argv'

N.B.: The code above can be trivially rewritten like this:

	while (--argc &gt; 0 &amp;&amp; **++argv == '-') {
		char *arg = *argv;
		while (*++arg) {
			switch (*arg) {
			...

Signed-off-by: Wolfgang Denk &lt;wd@denx.de&gt;
Acked-by: Mike Frysinger &lt;vapier@gentoo.org&gt;
</content>
</entry>
<entry>
<title>i386: Move cpu/i386/* to arch/i386/cpu/*</title>
<updated>2010-04-13T07:13:26Z</updated>
<author>
<name>Peter Tyser</name>
<email>ptyser@xes-inc.com</email>
</author>
<published>2010-04-13T03:28:17Z</published>
<link rel='alternate' type='text/html' href='http://cgit.235523.xyz/u-boot.git/commit/?id=e9a882803eb59f482ca4aa6ffd6fa21e4c53d618'/>
<id>urn:sha1:e9a882803eb59f482ca4aa6ffd6fa21e4c53d618</id>
<content type='text'>
Signed-off-by: Peter Tyser &lt;ptyser@xes-inc.com&gt;
</content>
</entry>
</feed>
