/** @file
Global data for the program environment.
Copyright (c) 2010 - 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.
**/
#include <Uefi.h>
#include <stdio.h>
#include <stdlib.h>
#include <limits.h>
#include <signal.h>
#include <time.h>
#include <setjmp.h>
#include <kfile.h>
/* ################## Type Declarations ################################# */
/** The type of an atexit handler function. **/
typedef void __xithandler_t(void);
/* ################## Global Declarations ############################### */
#ifndef TYPE_BIT
#endif /* !defined TYPE_BIT */
#ifndef TYPE_SIGNED
#endif /* !defined TYPE_SIGNED */
#ifndef INT_STRLEN_MAXIMUM
/*
** 302 / 1000 is log10(2.0) rounded up.
** Subtract one for the sign bit if the type is signed;
** add one for integer division truncation;
** add one more for a minus sign if the type is signed.
*/
#endif /* !defined INT_STRLEN_MAXIMUM */
/*
** Big enough for something such as
** ??? ???-2147483648 -2147483648:-2147483648:-2147483648 -2147483648\n
** (two three-character abbreviations, five strings denoting integers,
** three explicit spaces, two explicit colons, a newline,
** and a trailing ASCII nul).
*/
struct __filedes; /* Forward Reference */
struct __MainData {
// File descriptors
// Low-level File abstractions for the stdin, stdout, stderr streams
// Signal Handlers
};
extern struct __MainData *gMD;