Chameleon

Chameleon Svn Source Tree

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

Source at commit 340 created 13 years 10 months ago.
By azimutz, Ok.. as i mentioned about the "drivers" override key, this stuff is mostly based on the search algo on search_and_get_acpi_fd, acpi_patcher.c; i just added 2+2 and got 5 in return :) No need to check for ramdisk presence anymore, courtesy of Zef, rev 264. Why check the root of the ramdisk (rd) instead of /Extra? Well, rd's can be aliased as bt(0,0) or not, and the behavior is pretty diff in both situations; a "normal" rd can load "single" files and the paths to it start with rd(0,0).
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: 340