Initialized OriginalMode to SYS_MODE_UNKNOWN

date	99.07.29.16.30.00;	author grsmith1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 19:11:47 +00:00
parent baa12ddaf0
commit ed61d41bda

View File

@ -280,6 +280,7 @@ char BadType[] = "ERROR: unused type encoding found in table";
/*
* Elements of NsTypeNames should be
* one-to-one with values of NsType in acpinmsp.h
*/
/*
@ -457,7 +458,7 @@ CmInitGlobals (void)
Gpe0EnableRegisterSave = NULL;
Gpe1EnableRegisterSave = NULL;
OriginalMode = -1; /* original ACPI/legacy mode */
OriginalMode = SYS_MODE_UNKNOWN; /* original ACPI/legacy mode */
SciHandle = 0;
GpeRegisters = NULL;
GpeInfo = NULL;
@ -514,4 +515,4 @@ CmTerminate (void)
FUNCTION_EXIT;
}