#ifndef _EFISTDARG_H_1#define _EFISTDARG_H_23/*++45Copyright (c) 1999 - 2002 Intel Corporation. All rights reserved6This software and associated documentation (if any) is furnished7under a license and may only be used or copied in accordance8with the terms of the license. Except as permitted by such9license, no part of this software or documentation may be10reproduced, stored in a retrieval system, or transmitted in any11form or by any means without the express written consent of12Intel Corporation.1314Module Name:1516devpath.h1718Abstract:1920Defines for parsing the EFI Device Path structures21222324Revision History2526--*/2728#define _INTSIZEOF(n) ( (sizeof(n) + sizeof(UINTN) - 1) & ~(sizeof(UINTN) - 1) )2930typedef CHAR8 * va_list;3132#define va_start(ap,v) ( ap = (va_list)&v + _INTSIZEOF(v) )33#define va_arg(ap,t) ( *(t *)((ap += _INTSIZEOF(t)) - _INTSIZEOF(t)) )34#define va_end(ap) ( ap = (va_list)0 )353637#endif /* _INC_STDARG */383940