]> rtime.felk.cvut.cz Git - l4.git/blob - tools/preprocess/test/c-preproc.cpp
Inital import
[l4.git] / tools / preprocess / test / c-preproc.cpp
1 INTERFACE:
2
3 IMPLEMENTATION:
4
5 // set CS (missing from OSKIT)
6 #define set_cs(cs)                              \
7   asm volatile                                  \
8     ("ljmp %0,$1f \n1:"                         \
9      : : "i" (cs));
10
11 void 
12 function (void)
13 {
14 #if 1
15   bar ();
16 #else
17   foo ();
18 #endif
19 }