![]() |
| Home |
|
|
DriverFlagsDriverFlags defines 32 bits which may be enquired by the drivers supplied with RTKernel-32. Currently, the following values are defined: DF_IDLE_HALTSome system drivers can execute the CPU instruction Halt in RTKernel-32's Idle Task(s), significantly reducing power consumption and heat generation. However, the target computer must be able to handle Halt bus cycles, which is not the case for some low-cost embedded systems. If this flag is set, Halt will be executed by the Idle Task if preemptions are enabled. Be default, this flag is set only in the multiprocessor kernel. DF_NO_HYPERTHREADThis flag is only evaluated by the multiprocessor kernel. If set, logical Hyperthread CPUs are not used to run threads. Real CPUs such as on multi-core or multi-CPU systems can still be used. DF_IRQ_LOWESTTASKThis flag is only evaluated by the multiprocessor kernel. If set, the interrupt controller is programmed such that hardware interrupts are dynamically routed to the CPU which currently executes the lowest priority task. The flag can improve the interrupt-task latency and it can reduce the number of inter-processor interrupts. As this flag can interfere with the Debug Monitor's use of hardware interrupts, it is set by default only in the Standard version but not in the Debug version of RTKernel-32. This flag must not be set when running with APIC flag RT_APIC_FIXED_INT_ROUTING, which is always the case on Intel Core i3/5/7 CPUs.
|