Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Enabling NX bit on Xen ports?



jeanyves.migeon%free.fr@localhost said:
> -#ifndef XEN
>       if ((cpu_feature[2] & CPUID_NOX) && !(prot & VM_PROT_EXECUTE))
> -             npte |= PG_NX;
> -#endif
> +             npte |= protection_codes[VM_PROT_EXECUTE];
> +

This looks suspicious.

btw, both the diff and the commit message of amd64/mptramp.S
are almost identical to rev. 1.2 of that file. How history
repeats itself...

best regards
Matthias



------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------
Forschungszentrum Juelich GmbH
52425 Juelich
Sitz der Gesellschaft: Juelich
Eingetragen im Handelsregister des Amtsgerichts Dueren Nr. HR B 3498
Vorsitzende des Aufsichtsrats: MinDir'in Baerbel Brumme-Bothe
Geschaeftsfuehrung: Prof. Dr. Achim Bachem (Vorsitzender),
Dr. Ulrich Krafft (stellv. Vorsitzender), Prof. Dr.-Ing. Harald Bolt,
Prof. Dr. Sebastian M. Schmidt
------------------------------------------------------------------------------------------------
------------------------------------------------------------------------------------------------


Home | Main Index | Thread Index | Old Index