/*++

Copyright (c) 2016 Minoca Corp.

    This file is licensed under the terms of the GNU General Public License
    version 3. Alternative licensing terms are available. Contact
    info@minocacorp.com for details. See the LICENSE file at the root of this
    project for complete licensing information.

Module Name:

    pandafwv.S

Abstract:

    This module includes the firmware volume binary directly.

Author:

    Evan Green 4-Oct-2016

Environment:

    Any

--*/

//
// ---------------------------------------------------------------- Definitions
//

#if defined(__WINNT) || defined(__CYGWIN__) || defined(__APPLE__)

#define LABEL(_Name) _##_Name

#else

#define LABEL(_Name) _Name

#endif

#define INCLUDE_BINARY(_Path, _Name) \
    .align 4; \
    .global LABEL(_Name##_start); \
    LABEL(_Name##_start):; \
    .incbin _Path; \
    .global LABEL(_Name##_end); \
    LABEL(_Name##_end):

//
// ---------------------------------------------------------------------- Code
//

.text

INCLUDE_BINARY("pandafwv", _binary_pandafwv)

