## @file
# This file is used to define class objects of INF file miscellaneous.
#
# Copyright (c) 2011, Intel Corporation. All rights reserved.<BR>
#
# This program and the accompanying materials are licensed and made available
# under the terms and conditions of the BSD License which accompanies this
# distribution. The full text of the license may be found at
#
# THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
# WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
'''
InfMisc
'''
##
# BootModeObject
#
class InfBootModeObject():
return self.SupportedBootModes
return self.HelpString
##
# EventObject
#
class InfEventObject():
return self.HelpString
##
# HobObject
#
class InfHobObject():
self.SupArchList = []
return self.SupArchList
return self.HelpString
##
# InfSpecialCommentObject
#
for Item in SepcialSectionList:
else:
ObjList = []
return True
return self.SpecialComments
## ErrorInInf
#
# An encapsulate of Error for INF parser.
#
if ErrorCode == None:
if LineInfo == None: