Added option to override the table header Revision field

date	2004.09.21.19.32.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 15:42:30 +00:00
parent ea0b251d0c
commit a2864cba84

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: aslcodegen - AML code generation
* $Revision: 1.49 $
* $Revision: 1.51 $
*
*****************************************************************************/
@ -10,7 +10,7 @@
*
* 1. Copyright Notice
*
* Some or all of this work - Copyright (c) 1999 - 2003, Intel Corp.
* Some or all of this work - Copyright (c) 1999 - 2004, Intel Corp.
* All rights reserved.
*
* 2. License
@ -445,6 +445,13 @@ CgWriteTableHeader (
Child = Child->Asl.Next;
TableHeader.Revision = (UINT8) Child->Asl.Value.Integer;
/* Command-line Revision override */
if (Gbl_RevisionOverride)
{
TableHeader.Revision = Gbl_RevisionOverride;
}
/* OEMID */
Child = Child->Asl.Next;