Hi,

The CONFIG_USER_ONLY definition allows limiting user-mode
code to user emulation (in contrast to system emulation).
We often use it in common code.

Often the negative form (to *exclude* user-mode) is used.
This works fine with system emulation in mind, but it could
introduce subtle bugs when neither user nor system emulation
are used, for example with tools.

There is a CONFIG_TOOLS definition, but it is not used in C:

  config-host.mak:CONFIG_TOOLS=y
  config-host.h:#define CONFIG_TOOLS 1

Not sure how to clarify / improve, this is a bit confusing.

Just thinking loudly :)

Regards,

Phil.


Reply via email to