Home | History | Annotate | Download | only in Ebl

Lines Matching defs:File

1 /** @file

2 Script command allows the execution of commands from a text file
24 Execute the passed in file like a series of commands. The ; can be used on
25 a single line to indicate multiple commands per line. The Ascii text file
34 Argv[1] - Device Name:path for the file to load
53 EFI_OPEN_FILE *File;
63 // file name required
67 File = EfiOpen (Argv[1], EFI_FILE_MODE_READ, 0);
68 if (File == NULL) {
73 Status = EfiReadAllocatePool (File, &Address, &Size);
75 // Loop through each line in the text file
99 EfiClose (File);
108 " device:path; load an ascii file and execute it like commands",
116 Initialize the commands in this in this file