VirtualBox

source: vbox/trunk/src/VBox/Devices/PC/Etherboot-src/include/etherboot-asm.h@ 545

Last change on this file since 545 was 1, checked in by vboxsync, 55 years ago

import

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 472 bytes
Line 
1#ifndef ETHERBOOT_ASM_H
2#define ETHERBOOT_ASM_H
3
4
5/* Macro to add a leading underscore to symbols. This is necessary e.g. for
6 * building Etherboot under Windows with mingw. */
7
8#ifdef __WIN32__
9#define GSYM(x) _##x
10#else /* !__WIN32__ */
11#define GSYM(x) x
12#endif /* !__WIN32__ */
13
14
15#ifdef __WIN32__
16#define HACK_ADDR32 addr32
17#define HACK_DATA32 data32
18#else /* !__WIN32__ */
19#define HACK_ADDR32
20#define HACK_DATA32
21#endif /* !__WIN32__ */
22
23
24#endif /* ETHERBOOT_ASM_H */
Note: See TracBrowser for help on using the repository browser.

© 2024 Oracle Support Privacy / Do Not Sell My Info Terms of Use Trademark Policy Automated Access Etiquette