On 1/4/11 12:25 PM, Joonwoo Park wrote:
> 1 #include<iostream>
> 2
> 3 extern "C"
> 4 {
> 5 struct keyword {
> 6 int new;
> 7 };
> 8 }
> 9
> 10 int main()
> 11 {
> 12 return 0;
> 13 }
I took that and modified it as:
#include<iostream>
extern "C"
{
#include<sys/types.h>
void load_ldt(int32_t ldt)
{
asm volatile("lldt %0"::"m" (ldt));
}
}
int main()
{
return 0;
}
and it compiled fine.
So that solves part of the problem.
-Philip
_______________________________________________
click mailing list
[email protected]
https://amsterdam.lcs.mit.edu/mailman/listinfo/click