<feed xmlns='http://www.w3.org/2005/Atom'>
<title>delta/syslinux.git/com32/modules, branch lua</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>ifplop.c32: Detect if PLoP USB/CD INT13h hook is enabled/disabled</title>
<updated>2010-07-01T20:39:34+00:00</updated>
<author>
<name>Gert Hulselmans</name>
<email>gerth@zytor.com</email>
</author>
<published>2010-07-01T15:57:44+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=01dc2ad8336cc9dbd76f1e74cd4fec2e45334797'/>
<id>01dc2ad8336cc9dbd76f1e74cd4fec2e45334797</id>
<content type='text'>
New module which detects if the PLoP Boot Loader already has booted a
CDROM or USB drive by checking for the presence of the PLoP INT13h hook.

The following assembly code (NASM) can detect the PLoP INT13h hook:

  mov eax,'PoLP'  ; Reverse of 'PLoP'
  mov ebp,'DKHC'  ; Reverse of 'CHKD'
  int 13h
  cmp eax,' sey'  ; Reverse of 'yes '
  jz plop_INT13h_active

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.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>
New module which detects if the PLoP Boot Loader already has booted a
CDROM or USB drive by checking for the presence of the PLoP INT13h hook.

The following assembly code (NASM) can detect the PLoP INT13h hook:

  mov eax,'PoLP'  ; Reverse of 'PLoP'
  mov ebp,'DKHC'  ; Reverse of 'CHKD'
  int 13h
  cmp eax,' sey'  ; Reverse of 'yes '
  jz plop_INT13h_active

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>config.c32: accept an optional new directory</title>
<updated>2010-06-28T21:37:45+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@linux.intel.com</email>
</author>
<published>2010-06-28T21:37:45+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=3502961e0405a274619c5ca88cc9bc467c80709a'/>
<id>3502961e0405a274619c5ca88cc9bc467c80709a</id>
<content type='text'>
Accept an optional new directory to config.c32, just as we permit for
the CONFIG statement.

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>
Accept an optional new directory to config.c32, just as we permit for
the CONFIG statement.

Signed-off-by: H. Peter Anvin &lt;hpa@linux.intel.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chain.c32: pass partition number to stage2 of Grub Legacy</title>
<updated>2010-06-28T01:25:44+00:00</updated>
<author>
<name>Gert Hulselmans</name>
<email>gerth@zytor.com</email>
</author>
<published>2010-06-28T01:11:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=8c3bfcedff660798039129e66c29a440c7b5a464'/>
<id>8c3bfcedff660798039129e66c29a440c7b5a464</id>
<content type='text'>
Grub Legacy stage2 will read the install_partition variable from
memory address 0x8208.
We only need to change the value at 0x820a to the correct partition
number:
  -1:   whole drive (default)
  0-3:  primary partitions
  4-*:  logical partitions

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Grub Legacy stage2 will read the install_partition variable from
memory address 0x8208.
We only need to change the value at 0x820a to the correct partition
number:
  -1:   whole drive (default)
  0-3:  primary partitions
  4-*:  logical partitions

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chain.c32: only pass partition number in DH, when grldr= is used</title>
<updated>2010-06-28T01:04:28+00:00</updated>
<author>
<name>Gert Hulselmans</name>
<email>gerth@zytor.com</email>
</author>
<published>2010-06-28T00:42:58+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=3a74aa5230b81ef83612d02f7c405915afc5e64b'/>
<id>3a74aa5230b81ef83612d02f7c405915afc5e64b</id>
<content type='text'>
Add grldr= as boot parameter, so the partition number is only passed to
grub4dos grldr, when grldr= is used.

Currently the partition number is passed in DH unconditionally.
As consequence, grldr will set its root partition on which is searches its
menu.lst to (hd0), because -1 (whole drive) is passed in DH as root partition:
  chain.c32 file=/grldr

When the conditional check, this problem is solved:
  chain.c32 file=/grldr
Grub4dos will search all partitions for its menu.lst

When you want to set the root partition, use something like the following:
  chain.c32 hd0,2 grldr=/grldr
  chain.c32 fs grldr=/grldr

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add grldr= as boot parameter, so the partition number is only passed to
grub4dos grldr, when grldr= is used.

Currently the partition number is passed in DH unconditionally.
As consequence, grldr will set its root partition on which is searches its
menu.lst to (hd0), because -1 (whole drive) is passed in DH as root partition:
  chain.c32 file=/grldr

When the conditional check, this problem is solved:
  chain.c32 file=/grldr
Grub4dos will search all partitions for its menu.lst

When you want to set the root partition, use something like the following:
  chain.c32 hd0,2 grldr=/grldr
  chain.c32 fs grldr=/grldr

Signed-off-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chain.c32: add keeppxe to usage output and cleanup comments</title>
<updated>2010-06-28T00:36:24+00:00</updated>
<author>
<name>Gert Hulselmans</name>
<email>gerth@zytor.com</email>
</author>
<published>2010-06-28T00:13:39+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=87940ddbab18a5dcf8f82bf737abcf99fb1ede7b'/>
<id>87940ddbab18a5dcf8f82bf737abcf99fb1ede7b</id>
<content type='text'>
Add keeppxe to usage output.
Cleanup some comments.
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Add keeppxe to usage output.
Cleanup some comments.
</pre>
</div>
</content>
</entry>
<entry>
<title>Export the 64-bit partition offset and use it in chain.c</title>
<updated>2010-06-27T19:02:48+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-06-27T19:02:48+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=b775b0040fe57ef71ec9cd98f9c124a3d116269b'/>
<id>b775b0040fe57ef71ec9cd98f9c124a3d116269b</id>
<content type='text'>
When used with the "fs" option to chain.c32, we need to know our own
filesystem offset.  That means knowing if we used the MBR vs GPT
partition information, as well as if we ended up using the passed-in
information or not.

Resolve this by providing an explicit pointer to the current partition
offset.  Eventually this should be replaced by some kind of statfs()
call.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
When used with the "fs" option to chain.c32, we need to know our own
filesystem offset.  That means knowing if we used the MBR vs GPT
partition information, as well as if we ended up using the passed-in
information or not.

Resolve this by providing an explicit pointer to the current partition
offset.  Eventually this should be replaced by some kind of statfs()
call.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chain.c32: fix handover to a logical partition</title>
<updated>2010-06-27T01:07:59+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-06-27T01:07:59+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=6d3918a893e83267342ebd6b7d5c03cad4f27635'/>
<id>6d3918a893e83267342ebd6b7d5c03cad4f27635</id>
<content type='text'>
Make sure the handover information to a logical partition is adjusted
correctly -- we can't just hand over the partition entry, but we have
to adjust start_lba to match the real start LBA.

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 sure the handover information to a logical partition is adjusted
correctly -- we can't just hand over the partition entry, but we have
to adjust start_lba to match the real start LBA.

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>pwd.c32: add to Makefile</title>
<updated>2010-06-26T22:03:02+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-06-26T22:03:02+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=f6f72bd64722876fa6684d293dc659cf5c141a39'/>
<id>f6f72bd64722876fa6684d293dc659cf5c141a39</id>
<content type='text'>
Actually *build* pwd.c32...

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</content>
<content type='xhtml'>
<div xmlns='http://www.w3.org/1999/xhtml'>
<pre>
Actually *build* pwd.c32...

Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>chain.c32: "fs" is a singular token, only match if complete</title>
<updated>2010-06-26T21:57:14+00:00</updated>
<author>
<name>H. Peter Anvin</name>
<email>hpa@zytor.com</email>
</author>
<published>2010-06-26T21:57:14+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=571b20b3daaf32c0dffde0bb513cb256a8a41f03'/>
<id>571b20b3daaf32c0dffde0bb513cb256a8a41f03</id>
<content type='text'>
fs is a full token, not a prefix.

Reported-by: Gert Hulselmans &lt;gerth@zytor.com&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>
fs is a full token, not a prefix.

Reported-by: Gert Hulselmans &lt;gerth@zytor.com&gt;
Signed-off-by: H. Peter Anvin &lt;hpa@zytor.com&gt;
</pre>
</div>
</content>
</entry>
<entry>
<title>com32 pwd module</title>
<updated>2010-06-26T19:34:07+00:00</updated>
<author>
<name>Gene Cumm</name>
<email>gene.cumm@gmail.com</email>
</author>
<published>2010-06-26T14:59:46+00:00</published>
<link rel='alternate' type='text/html' href='http://trove.baserock.org/cgit/delta/syslinux.git/commit/?id=e9654e598bab36d0c5218163263baf4105db5ae0'/>
<id>e9654e598bab36d0c5218163263baf4105db5ae0</id>
<content type='text'>
[MODULE] pwd to list present (current) working directory.  If the
returned string is empty, display ".".  If the return value is NULL,
display an error message.

Unfortunately, it appears that COM32 getcwd is not working properly at
this moment, it calling the COMBOOT call and getting an empty string.

Signed-off-by: Gene Cumm &lt;gene.cumm@gmail.com&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>
[MODULE] pwd to list present (current) working directory.  If the
returned string is empty, display ".".  If the return value is NULL,
display an error message.

Unfortunately, it appears that COM32 getcwd is not working properly at
this moment, it calling the COMBOOT call and getting an empty string.

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