Repository navigation
Conversation
zetalog
force-pushed
the
efi-fixes
branch
3 times, most recently
from
August 27, 2014 07:08
039575f to
4700330
Compare
This patch fixes pointer-to-int-cast compilation error: .../osefixf.c: In function 'AcpiEfiGetRsdpViaGuid': .../osefixf.c:224:23: error: cast from pointer to integer of different size [-Werror=pointer-to-int-cast] Signed-off-by: Lv Zheng <lv.zheng@intel.com>
The following commit has fixed local printf issue in width.prec: Commit: 6de9d1e Subject: Utilities: Fix local printf issue. But this commit only resets width/precision/quialifier to fix the reported issue and doesn't fix other states issues. So now we still can see breakage in format types and integer bases. This patch resets format type/base states for local printf to fix this issue. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com>
…pplications. We now safe to enable USE_NATIVE_ALLOCATE_ZEROED for all applications as there are implementations in oswinxf.c, osunixxf.c and osefixf.c. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Yizhe Wang <yizhe.wang@intel.com>
This patch: 1. Adds AcpiUtVprintf()/AcpiUtPrintf() support. 2. Adds default stdout for AcpiUtFileVprintf()/AcpiUtFilePrintf(). 3. Adds wrapper layer for AcpiUtSnprintf()/AcpiUtVsnprintf(), AcpiUtFileVprintf()/AcpiUtFilePrintf() and AcpiUtVprintf()/AcpiUtPrintf() and converts their usages into the invocations of the wrapper layer. Note that this patch doesn't enable the print APIs for OSPMs that do not have ACPI_USE_SYSTEM_CLIBRARY defined before fulling testing the implementations. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Yizhe Wang <yizhe.wang@intel.com>
…to AcpiGbl_DebugFile. There is an issue for usage macros, if an command line option changed AcpiGbl_DebugFile, then the follow up usage may errornously dumped to the debug file. This is just a bug in theory, because currently AcpiGbl_DebugFile can only be modified by acpibin and acpiexec. Currently this will not trigger such issue because: 1. For acpibin, AcpiGbl_DebugFile will be modified by "-t" option and the program exit after processing this option without dumping help message or other error options. 2. For acpiexec, AcpiGbl_DebugFile will only be modified by the open command, which happens after parsing the command line options, so no help message will be dumped into the debug file. But maintaining this logic is difficult, so this patch modifies AcpiOsPrintf() into ACPI_PRINTF() for usage macros so that the help messages are ensured to be dumped to the stdout. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Yizhe Wang <yizhe.wang@intel.com>
There are build errors for ACPI_DEBUG_OUTPUT enabled tools. This is because osefixf.c is lacking of component/module definitions. This patch fixes such build errors by filling this gap. Yizhe Wang. Signed-off-by: Yizhe Wang <yizhe.wang@intel.com> Signed-off-by: Lv Zheng <lv.zheng@intel.com>
The AcpiGbl_DebugTimeout implemented in oswinxf.c is only used for WIN32 builds, so acpiexec need to be changed accordingly to make -t option a no-op for other platforms. Lv Zheng. Signed-off-by: Lv Zheng <lv.zheng@intel.com> Signed-off-by: Yizhe Wang <yizhe.wang@intel.com>
Contributor
Author
|
Most of the commits are merged. Thanks |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This branch contains the fixes needed by the EFI porting task.
Please review.