Chameleon

Chameleon Svn Source Tree

Root/branches/meklort/i386/libsa/efi_tables.h

Source at commit 406 created 13 years 10 months ago.
By azimutz, Consolidating this position: while testing the new theme and boot-log function, i realized that when it comes to verbose boot, using the -v flag on Boot.plist (or typed at boot prompt) and using the Menu (Boot Verbose), doesn't produce the exact same output; using the Menu displays all the messages, while typing -v causes some of the first messages to disappear. So, moving this to an early stage isn't anymore a question of what is printed to screen or not! Tests also showed another diff: when using -v flag typed, the Boot Banner is cleared and messages start to print right away, while using Boot Verbose on the Menu, keeps the Banner, prints the first 2 or 3 messages right below it and the rest are only printed, when this code runs and does it's thing. Moving the code to this position fixes this glitch.
1/*! @file efi_tables.h
2 @abstract Utility functions for dealing with EFI tables
3 Copyright 2007 David F. Elliott. All rights reserved.
4 */
5#ifndef _LIBSA_EFI_TABLES_H__
6#define _LIBSA_EFI_TABLES_H__
7
8#include "efi.h"
9
10uint32_t crc32(uint32_t crc, const void *buf, size_t size);
11
12void efi_guid_unparse_upper(EFI_GUID const *pGuid, char *out);
13bool efi_guid_is_null(EFI_GUID const *pGuid);
14int efi_guid_compare(EFI_GUID const *pG1, EFI_GUID const *pG2);
15
16#endif //ndef _LIBSA_EFI_TABLES_H__
17

Archive Download this file

Revision: 406