62c62
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
67c67
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
256c256,257
< * PARAMETERS: FileInfo - Points to an open input file
---
> * PARAMETERS: Handle - Open input file
> * Status - File current status struct
266c267
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
273c274
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
310c311
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
316c317
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
335c336,338
< * PARAMETERS: FileInfo - Points to an open input file
---
> * PARAMETERS: Handle - Open input file
> * Filename - Input filename
> * DisplayErrors - TRUE if error messages desired
350c353,355
< ASL_FILE_INFO *FileInfo)
---
> FILE *Handle,
> char *Filename,
> BOOLEAN DisplayErrors)
363c368
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
373c378
< FlConsumeAnsiComment (FileInfo, &Status);
---
> FlConsumeAnsiComment (Handle, &Status);
378c383
< FlConsumeNewComment (FileInfo, &Status);
---
> FlConsumeNewComment (Handle, &Status);
394c399
< if (BadBytes < 10)
---
> if ((BadBytes < 10) && (DisplayErrors))
416c421
< fseek (FileInfo->Handle, 0, SEEK_SET);
---
> fseek (Handle, 0, SEEK_SET);
422,425c427,434
< AcpiOsPrintf (
< "%u non-ASCII characters found in input source text, could be a binary file\n",
< BadBytes);
< AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, FileInfo->Filename);
---
> if (DisplayErrors)
> {
> AcpiOsPrintf (
> "%u non-ASCII characters found in input source text, could be a binary file\n",
> BadBytes);
> AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, Filename);
> }
>
429c438
< /* File is OK */
---
> /* File is OK (100% ASCII) */
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
67c67
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
256c256,257
< * PARAMETERS: FileInfo - Points to an open input file
---
> * PARAMETERS: Handle - Open input file
> * Status - File current status struct
266c267
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
273c274
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
310c311
< ASL_FILE_INFO *FileInfo,
---
> FILE *Handle,
316c317
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
335c336,338
< * PARAMETERS: FileInfo - Points to an open input file
---
> * PARAMETERS: Handle - Open input file
> * Filename - Input filename
> * DisplayErrors - TRUE if error messages desired
350c353,355
< ASL_FILE_INFO *FileInfo)
---
> FILE *Handle,
> char *Filename,
> BOOLEAN DisplayErrors)
363c368
< while (fread (&Byte, 1, 1, FileInfo->Handle))
---
> while (fread (&Byte, 1, 1, Handle))
373c378
< FlConsumeAnsiComment (FileInfo, &Status);
---
> FlConsumeAnsiComment (Handle, &Status);
378c383
< FlConsumeNewComment (FileInfo, &Status);
---
> FlConsumeNewComment (Handle, &Status);
394c399
< if (BadBytes < 10)
---
> if ((BadBytes < 10) && (DisplayErrors))
416c421
< fseek (FileInfo->Handle, 0, SEEK_SET);
---
> fseek (Handle, 0, SEEK_SET);
422,425c427,434
< AcpiOsPrintf (
< "%u non-ASCII characters found in input source text, could be a binary file\n",
< BadBytes);
< AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, FileInfo->Filename);
---
> if (DisplayErrors)
> {
> AcpiOsPrintf (
> "%u non-ASCII characters found in input source text, could be a binary file\n",
> BadBytes);
> AslError (ASL_ERROR, ASL_MSG_NON_ASCII, NULL, Filename);
> }
>
429c438
< /* File is OK */
---
> /* File is OK (100% ASCII) */