<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/memdisk, branch syslinux-3.8x</title>
<subtitle>git.kernel.org: pub/scm/boot/syslinux/syslinux.git
</subtitle>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/'/>
<entry>
<title>memdisk: Calculate mBFT checksum later</title>
<updated>2010-03-31T01:09:59+00:00</updated>
<author>
<name>Shao Miller</name>
<email>shao.miller@yrdsb.edu.on.ca</email>
</author>
<published>2010-03-09T06:12:37+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=b5d635ad26b00ce242af7c1b31e34f41cb798fc9'/>
<id>b5d635ad26b00ce242af7c1b31e34f41cb798fc9</id>
<content type='text'>
We were calculating the mBFT checksum too early; dpt_ptr could
change after checksumming, so we now do it after that possibility.

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
We were calculating the mBFT checksum too early; dpt_ptr could
change after checksumming, so we now do it after that possibility.

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: MBR not recognized correctly</title>
<updated>2010-03-30T22:19:41+00:00</updated>
<author>
<name>Bodo Stroesser</name>
<email>bstroesser at ts.fujitsu.com</email>
</author>
<published>2010-03-23T16:56:29+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=7be3ff1150edfbfe62e1aab9ad3f9824082019d5'/>
<id>7be3ff1150edfbfe62e1aab9ad3f9824082019d5</id>
<content type='text'>
This fixes a small inaccuracy in memdisk:

get_disk_image_geometry() does not use MBR data to detect disk
geometry, since it checks MBR signature at wrong offset.

This normally does not cause problems, because memdisk guesses a
reasonable value, if no MBR is found.

Signed-off-by: Bodo Stroesser &lt;bstroesser at ts.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
This fixes a small inaccuracy in memdisk:

get_disk_image_geometry() does not use MBR data to detect disk
geometry, since it checks MBR signature at wrong offset.

This normally does not cause problems, because memdisk guesses a
reasonable value, if no MBR is found.

Signed-off-by: Bodo Stroesser &lt;bstroesser at ts.fujitsu.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: make "nopass" type-specific, add "nopassany"</title>
<updated>2010-02-08T17:13:11+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-02-08T17:13:11+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=48d026fb89dee478f8e3a580b5298594331cc890'/>
<id>48d026fb89dee478f8e3a580b5298594331cc890</id>
<content type='text'>
Make "nopass" specific to the current drive type.  Add new option
"nopassany", which also clobbers the drive counts of both types.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make "nopass" specific to the current drive type.  Add new option
"nopassany", which also clobbers the drive counts of both types.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: fix non-prototype function declaration</title>
<updated>2010-01-10T20:54:24+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-01-10T20:54:24+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=aeace38fa079d56b46898385a926df5356146b1d'/>
<id>aeace38fa079d56b46898385a926df5356146b1d</id>
<content type='text'>
() is not a prototype, use (void)

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
() is not a prototype, use (void)

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>Makefile: replace -W -Wall with centralized $(GCCWARN)</title>
<updated>2010-01-10T20:49:30+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-01-10T20:48:06+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=71d20885019564586d5f4d316af220cdae2900f5'/>
<id>71d20885019564586d5f4d316af220cdae2900f5</id>
<content type='text'>
Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN),
a centralized variable defined in the root MCONFIG.  Add
-Wstrict-prototypes to the list of global warnings: we should never
have non-prototyped declarations.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Replace -W -Wall hardcoded into a bunch of Makefiles with $(GCCWARN),
a centralized variable defined in the root MCONFIG.  Add
-Wstrict-prototypes to the list of global warnings: we should never
have non-prototyped declarations.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: Fix "might be used uninitialized" warning</title>
<updated>2009-12-11T18:53:16+00:00</updated>
<author>
<name>Shao Miller</name>
<email>shao.miller@yrdsb.edu.on.ca</email>
</author>
<published>2009-12-11T18:53:16+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=cd5188bc5c189b6d374ccd4cd5eeba0d9f718ae1'/>
<id>cd5188bc5c189b6d374ccd4cd5eeba0d9f718ae1</id>
<content type='text'>
Impact: Initializing variables

The checksum_buf function was providing an incorrect checksum
on at least one build.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Impact: Initializing variables

The checksum_buf function was providing an incorrect checksum
on at least one build.
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: Fix mBFT alignment</title>
<updated>2009-12-11T18:52:15+00:00</updated>
<author>
<name>Shao Miller</name>
<email>shao.miller@yrdsb.edu.on.ca</email>
</author>
<published>2009-12-11T18:52:15+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=50e8504edee547ad9c9e8900550ec5c85b77435e'/>
<id>50e8504edee547ad9c9e8900550ec5c85b77435e</id>
<content type='text'>
Impact: Fixing mBFT alignment

It was previously possible that the mBFT might not be 16-byte
aligned because the .data section was not.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Impact: Fixing mBFT alignment

It was previously possible that the mBFT might not be 16-byte
aligned because the .data section was not.
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: slight cleanup of the "safe hook" structure</title>
<updated>2009-12-07T23:02:14+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-12-07T23:02:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=6b588d85fe96f91b90035c897c6f015553e0d213'/>
<id>6b588d85fe96f91b90035c897c6f015553e0d213</id>
<content type='text'>
Make the "safe hook" structure code a bit more readable.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Make the "safe hook" structure code a bit more readable.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: "safe hook" and mBFT</title>
<updated>2009-12-07T23:00:54+00:00</updated>
<author>
<name>Shao Miller</name>
<email>Shao.Miller@yrdsb.edu.on.ca</email>
</author>
<published>2009-12-07T04:03:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=569a7aa11d6ec9f93fb513fd55287afc785f2d9c'/>
<id>569a7aa11d6ec9f93fb513fd55287afc785f2d9c</id>
<content type='text'>
Two additions to MEMDISK to support OS drivers.

The "safe hook" structure ("Safe Master Boot Record INT 13h Hook Routines")
is a means for an OS driver to follow a chain of INT 13h hooks, examining
the hooks' vendors and assuming responsibility for hook functionality along
the way.  For MEMDISK, we guarantee an additional field which holds the
physical address for the mBFT.

The mBFT is an ACPI table which an OS driver can scan for.  The mBFT
contains the official MEMDISK Info structure (MDI) which itself includes
parameters the OS will want to know about.  The mBFT points back at the
"safe hook" structure's physical address so that an OS supporting both
"safe hook" chain-walking as well as mBFT-scanning can know that both
refer to the same MEMDISK instance.

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Two additions to MEMDISK to support OS drivers.

The "safe hook" structure ("Safe Master Boot Record INT 13h Hook Routines")
is a means for an OS driver to follow a chain of INT 13h hooks, examining
the hooks' vendors and assuming responsibility for hook functionality along
the way.  For MEMDISK, we guarantee an additional field which holds the
physical address for the mBFT.

The mBFT is an ACPI table which an OS driver can scan for.  The mBFT
contains the official MEMDISK Info structure (MDI) which itself includes
parameters the OS will want to know about.  The mBFT points back at the
"safe hook" structure's physical address so that an OS supporting both
"safe hook" chain-walking as well as mBFT-scanning can know that both
refer to the same MEMDISK instance.

Signed-off-by: Shao Miller &lt;shao.miller@yrdsb.edu.on.ca&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>memdisk: pptr-&gt;cd_pkt.sect_count is in virtual sectors</title>
<updated>2009-11-20T04:17:43+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2009-11-20T04:17:43+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=a0dae108231cdd929aff1f6551fcb70c806c0f99'/>
<id>a0dae108231cdd929aff1f6551fcb70c806c0f99</id>
<content type='text'>
Per the El Torito spec, pptr-&gt;cd_pkt.sect_count are in virtual
sectors, i.e. 512-byte sectors.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Per the El Torito spec, pptr-&gt;cd_pkt.sect_count are in virtual
sectors, i.e. 512-byte sectors.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
</feed>
