Displaying 1 result from an estimated 1 matches for "searchdir4any".
2009 Mar 21
0
[PATCH 1/1] SYSLINUX/COMBOOT: Abstract searchdir and fix the opendir call
...LINUX/COMBOOT: Abstract searchdir and fix the opendir call
Signed-off-by: Gene Cumm <gene.cumm at gmail.com>
---
First, change comboot.inc such that INT 22h AX=0020h (opendir) is
about as simple and similar in behavior to INT 22h AX=0006h
(openfile).
Next, rename the function searchdir to searchdir4any, create a new
function called searchdir and move all regular file-specific code to
searchdir. This allows for future expansion into a more generic
directory searching capability.
Last, create a function searchdir4dir designed to find a directory.
This function is designed to act just like searchd...