Deleted Added
sdiff udiff text old ( 241973 ) new ( 243347 )
full compact
1/******************************************************************************
2 *
3 * Module Name: asllisting - Listing file generation
4 *
5 *****************************************************************************/
6
7/*
8 * Copyright (C) 2000 - 2012, Intel Corp.

--- 121 unchanged lines hidden (view full) ---

130 void);
131
132static ACPI_STATUS
133LsTreeWriteWalk (
134 ACPI_PARSE_OBJECT *Op,
135 UINT32 Level,
136 void *Context);
137
138
139/*******************************************************************************
140 *
141 * FUNCTION: LsTreeWriteWalk
142 *
143 * PARAMETERS: ASL_WALK_CALLBACK
144 *
145 *
146 * RETURN: None.

--- 1130 unchanged lines hidden (view full) ---

1277 /* No other output types supported */
1278 break;
1279 }
1280}
1281
1282
1283/*******************************************************************************
1284 *
1285 * FUNCTION: LsDoHexOutputC
1286 *
1287 * PARAMETERS: None
1288 *
1289 * RETURN: None.
1290 *
1291 * DESCRIPTION: Create the hex output file. This is the same data as the AML
1292 * output file, but formatted into hex/ascii bytes suitable for

--- 21 unchanged lines hidden (view full) ---

1314 FlPrintFile (ASL_FILE_HEX_OUTPUT, " * AML code block contains 0x%X bytes\n *\n */\n",
1315 AmlFileSize);
1316 FlPrintFile (ASL_FILE_HEX_OUTPUT, "unsigned char AmlCode[] =\n{\n");
1317
1318 while (Offset < AmlFileSize)
1319 {
1320 /* Read enough bytes needed for one output line */
1321
1322 LineLength = fread (FileData, 1, HEX_TABLE_LINE_SIZE,
1323 Gbl_Files[ASL_FILE_AML_OUTPUT].Handle);
1324 if (!LineLength)
1325 {
1326 break;
1327 }
1328
1329 FlPrintFile (ASL_FILE_HEX_OUTPUT, " ");
1330
1331 for (i = 0; i < LineLength; i++)

--- 70 unchanged lines hidden (view full) ---

1402 FlPrintFile (ASL_FILE_HEX_OUTPUT, " * AML code block contains 0x%X bytes\n *\n */\n",
1403 AmlFileSize);
1404 FlPrintFile (ASL_FILE_HEX_OUTPUT, " Name (BUF1, Buffer()\n {\n");
1405
1406 while (Offset < AmlFileSize)
1407 {
1408 /* Read enough bytes needed for one output line */
1409
1410 LineLength = fread (FileData, 1, HEX_TABLE_LINE_SIZE,
1411 Gbl_Files[ASL_FILE_AML_OUTPUT].Handle);
1412 if (!LineLength)
1413 {
1414 break;
1415 }
1416
1417 FlPrintFile (ASL_FILE_HEX_OUTPUT, " ");
1418
1419 for (i = 0; i < LineLength; i++)

--- 69 unchanged lines hidden (view full) ---

1489 FlPrintFile (ASL_FILE_HEX_OUTPUT, "; Assembly code source output\n");
1490 FlPrintFile (ASL_FILE_HEX_OUTPUT, "; AML code block contains 0x%X bytes\n;\n",
1491 AmlFileSize);
1492
1493 while (Offset < AmlFileSize)
1494 {
1495 /* Read enough bytes needed for one output line */
1496
1497 LineLength = fread (FileData, 1, HEX_TABLE_LINE_SIZE,
1498 Gbl_Files[ASL_FILE_AML_OUTPUT].Handle);
1499 if (!LineLength)
1500 {
1501 break;
1502 }
1503
1504 FlPrintFile (ASL_FILE_HEX_OUTPUT, " db ");
1505
1506 for (i = 0; i < LineLength; i++)

--- 33 unchanged lines hidden ---