Opened 3 years ago

Last modified 3 years ago

#305 new enhancement

Conditional assembly/compilation of simulator-aware code.

Reported by: canthony Owned by: Eric Swenson
Priority: minor Milestone:
Component: Hardcore Version:
Keywords: Cc:

Description

I would like to propose the addition of a conditional build construct to allow control over simulator-aware code changes to Multics. (See #228 for an example.)

Definitions:

Simulator-dependent: Code that will only run correctly on the simulator, and will give unexpected results if run on hardware.
Simulator-aware: Code that will run correctly on both the simulator and the hardware, but mitigates some simulator issue. This code may cause unnecessary overhead on hardware.

Statement of purpose for conditional assembly/compilation"

"We are careful to not put simulator dependencies in Multics, so as to remain h/w compatible. We may carefully add simulator aware code; that code will be conditionally built. The Multics distributions will always be built with the condition enabled; but a simulator agnostic build can easy be done if needed."

Change History (1)

comment:1 by Eric Swenson, 3 years ago

Can't we use the existing pmac facility for this?

Note: See TracTickets for help on using tickets.