FAT: generate EOF depending on exceeding the number of clusters
authorH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 17:41:53 +0000 (09:41 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Mon, 25 Jan 2010 17:41:53 +0000 (09:41 -0800)
commit9ce3e9ca7775032be2bad8ce80fd72eb60af7d69
treefa9d109149de405dfc2051635a8710b05e0c8e13
parentdbbff6e3ff4ce7e2c1fd84b42559c312656c2d69
FAT: generate EOF depending on exceeding the number of clusters

Generate EOF by comparing to the actual number of clusters.  We have
to compute the number of clusters in the filesystem anyway during
setup, so save the number and use it for the EOF computation.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
core/ldlinux.asm