VirtualBox

source: vbox/trunk/src/VBox/ValidationKit/bootsectors/bs3kit/bs3-cmn-instantiate-common.h@ 60009

Last change on this file since 60009 was 60003, checked in by vboxsync, 9 years ago

bs3kit: C templates experiments.

  • Property svn:eol-style set to native
  • Property svn:keywords set to Author Date Id Revision
File size: 765 bytes
Line 
1
2
3
4#ifdef BS3_CMN_INSTANTIATE_FILE1
5
6# define BS3_CMN_INSTANTIATE_FILE1_B <BS3_CMN_INSTANTIATE_FILE1>
7
8# if ARCH_BITS == 16 /* 16-bit - real mode. */
9# define TMPL_MODE BS3_MODE_RM
10# include <bs3kit/bs3kit-template-header.h>
11# include BS3_CMN_INSTANTIATE_FILE1_B
12# include <bs3kit/bs3kit-template-footer.h>
13# endif
14
15# if ARCH_BITS == 32 /* 32-bit - paged protected mode. */
16# define TMPL_MODE BS3_MODE_PP32
17# include <bs3kit/bs3kit-template-header.h>
18# include BS3_CMN_INSTANTIATE_FILE1_B
19# include <bs3kit/bs3kit-template-footer.h>
20# endif
21
22# if ARCH_BITS == 64 /* 64-bit. */
23# define TMPL_MODE BS3_MODE_LM64
24# include <bs3kit/bs3kit-template-header.h>
25# include BS3_CMN_INSTANTIATE_FILE1_B
26# include <bs3kit/bs3kit-template-footer.h>
27# endif
28
29#endif
30
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