File: buildefi.h

package info (click to toggle)
efitools 1.9.2-3.6
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 948 kB
  • sloc: ansic: 7,550; makefile: 131; perl: 119; sh: 35
file content (15 lines) | stat: -rw-r--r-- 338 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _BUILDEFI_H
#define _BUILDEFI_H

#ifndef BUILD_EFI
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#define Print(...) printf("%ls", __VA_ARGS__)
#define AllocatePool(x) malloc(x)
#define CopyMem(d, s, l) memcpy(d, s, l)
#define ZeroMem(s, l) memset(s, 0, l)
#define FreePool(s) free(s)
#endif

#endif /* _BUILDEFI_H */