deps/acpica/source/compiler/dtio.c
/******************************************************************************
 *
 * FUNCTION:    DtWriteTableToListing
 *
 * PARAMETERS:  None
 *
 * RETURN:      None
 *
 * DESCRIPTION: Write the entire compiled table to the listing file
 *              in hex format
 *
 *****************************************************************************/


None

Write the entire compiled table to the listing file
in hex format
None Write the entire compiled table to the listing file in hex format
void
DtWriteTableToListing (
    void)
{
    UINT8                   *Buffer;
    if (!Gbl_ListingFlag)
    {
        return;
    }
    Buffer = UtLocalCalloc (Gbl_TableLength);
    FlSeekFile (ASL_FILE_AML_OUTPUT, 0);
    FlReadFile (ASL_FILE_AML_OUTPUT, Buffer, Gbl_TableLength);
    AcpiOsRedirectOutput (Gbl_Files[ASL_FILE_LISTING_OUTPUT].Handle);
    AcpiOsPrintf ("\n%s: Length %d (0x%X)\n\n",
        ACPI_RAW_TABLE_DATA_HEADER, Gbl_TableLength, Gbl_TableLength);
    AcpiUtDumpBuffer (Buffer, Gbl_TableLength, DB_BYTE_DISPLAY, 0);
    AcpiOsRedirectOutput (stdout);
    ACPI_FREE (Buffer);
}
void DtWriteTableToListing ( void ) { UINT8 * Buffer ; if ( ! Gbl_ListingFlag ) { return ; } Buffer = UtLocalCalloc ( Gbl_TableLength ) ; FlSeekFile ( ASL_FILE_AML_OUTPUT , 0 ) ; FlReadFile ( ASL_FILE_AML_OUTPUT , Buffer , Gbl_TableLength ) ; AcpiOsRedirectOutput ( Gbl_Files [ ASL_FILE_LISTING_OUTPUT ] . Handle ) ; AcpiOsPrintf ( " \n \n \n " , ACPI_RAW_TABLE_DATA_HEADER , Gbl_TableLength , Gbl_TableLength ) ; AcpiUtDumpBuffer ( Buffer , Gbl_TableLength , DB_BYTE_DISPLAY , 0 ) ; AcpiOsRedirectOutput ( stdout ) ; ACPI_FREE ( Buffer ) ; }
FUNCTION:    DtWriteTableToListing
 PARAMETERS:  None
FUNCTION : DtWriteTableToListing PARAMETERS : None
/* Read the entire table from the output file */ /* Dump the raw table data */