ring0 Code Generation Option (OS/2)

Syntax: Default:
gen(ring0[, yes])
gen(ring0, no)
gen(ring0, no)

This option determines whether the code generated can run at ring 0 under OS/2 on Intel processors. Intel architecture supports different rings, or levels of hardware protection, on which code can execute. Ring 0 has the most protection.

By default, VisualAge C++ generates code to run at the unprotected ring, ring 3.

Set ring0 to yes if you are writing a virtual device driver or your code needs I/O or other special privileges. You also need to set the link(standAlone) option for the target.



Incremental C++ Build
C Compilation
Configuration Files
Developing Virtual Device Drivers on OS/2


Set Build Options
Build


Code Generation Options