2001-06-09 16:49:51 +00:00
|
|
|
/* $FreeBSD$ */
|
|
|
|
#ifndef _EFISTDARG_H_
|
|
|
|
#define _EFISTDARG_H_
|
|
|
|
|
|
|
|
/*++
|
|
|
|
|
2006-11-02 02:42:48 +00:00
|
|
|
Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved
|
|
|
|
This software and associated documentation (if any) is furnished
|
|
|
|
under a license and may only be used or copied in accordance
|
|
|
|
with the terms of the license. Except as permitted by such
|
|
|
|
license, no part of this software or documentation may be
|
|
|
|
reproduced, stored in a retrieval system, or transmitted in any
|
|
|
|
form or by any means without the express written consent of
|
|
|
|
Intel Corporation.
|
2001-06-09 16:49:51 +00:00
|
|
|
|
|
|
|
Module Name:
|
|
|
|
|
|
|
|
devpath.h
|
|
|
|
|
|
|
|
Abstract:
|
|
|
|
|
|
|
|
Defines for parsing the EFI Device Path structures
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Revision History
|
|
|
|
|
|
|
|
--*/
|
|
|
|
|
|
|
|
#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )
|
|
|
|
|
|
|
|
typedef CHAR8 * va_list;
|
|
|
|
|
|
|
|
#define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) )
|
|
|
|
#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )
|
|
|
|
#define va_end(ap) ( ap = (va_list)0 )
|
|
|
|
|
|
|
|
|
|
|
|
#endif /* _INC_STDARG */
|