      Files pre uploading


      1. What is it for

It was developed to minimize int 13h calls by jumping to processor's 
RealMode and getting back. It also speeds up of repeating drivers 
reading like PRINT01.SYS, CLOCK01.SYS and USB. The main goal is to 
run ACPI on AMD chipsets where int 13h cannot be used after switching 
ACPI on.


     2. How does it work

The files list has been reading in memory and then each file in 
list is loading in memory structure. If the file is absent on disk 
then only file name and special mark are placed in memory structure. 
This mark means that file is absent and it is not required to search 
for it again in future. All files missed in list will be loaded by 
regular way. When OS2DASD.DMD is loaded and booting is switching from 
MFS to IFS phase then all this memory structure will be discarded.


    3. How to use it

There is the files list in OS4KRNL.INI that need to be loaded. The 
file structure is simple. Each line contains the file name to be 
loaded. The only problem is that kernel may try to load file that is 
not present on disk like .SYM files for drivers. To avoid this 
failures it is useful to add all such files to list.

How to investigate the files to preload in your system. Just create 
OS4KRNL.INI with only two lines:

resource.sys
resource.sym

Then in OS2LDR.INI set LOGSIZE=XXX parameter in [config] section. 
Then reboot and get the boot log with commands:
  copy ___hlp$ kernel.log
if you have ACPI or
  copy oemhlp$ kernel.log
if not. Investigate the log for messages like "==Need 'xxxxx'==" 
where 'xxxxx' is a file name and put all this names in preloading 
file list in OS4KRNL.INI. When you put all required files in the list 
then there will be no messages like "==Need 'xxxxx'==" in boot log.

