
INTELLIGENT ENERGY MANAGEMENT
S5PC100 USER’S MANUAL (REV1.0)
2.5-10
•
creates a structure describing the system event
•
ensures that there is an IEM block describing the corresponding task
•
runs the fast event handlers to process the system event.
The kernel hook then determines whether any standard event handlers recognize the system event. If so, the
kernel hook adds the event to the event queue, for subsequent processing by the standard event handlers.
The kernel hook finally ensures that, if there are any system events in the event queue, the standard event
handlers run within a given period.
2.2.2
Running the fast event handlers
The fast event handlers are run from the kernel hooks whenever a system event occurs.
For each policy, the IEM kernel determines whether its fast event handler recognizes the system event. If so, the
IEM kernel runs the fast event handler, passing it pointers to the IEM kernel data structures that include:
•
the system event structure describing the event
•
the IEM block describing the task that triggered the system event.
The fast event handler then processes the event. Typical uses of the fast event handler include:
•
Recognizing a task that requires an immediate change in performance level, and requesting that performance
level. The fast event handler might recognize:
♦
a specific task, such as a movie player
♦
a type of task, such as real-time tasks, or tasks that are receiving user input.
If necessary, the fast event handler can get further information about the task by making calls to the OS layer API.
•
Storing policy-specific information about the current state of the task or the system, for later processing by the
standard event handler of the same policy. The fast event handler might get this information by making calls
to the IEM HAL or OS layer APIs. It typically stores this information in arrays of memory that are allocated by
the initialization function of the policy.
When the fast event handlers have been run, the IEM kernel then combines any performance requests that the
fast event handlers are making, and sets the resulting performance level using the IEM HAL.
2.2.3
Running the standard event handlers
The standard event handlers are run periodically by the IEM kernel.
When the IEM kernel determines that it must run the standard event handlers, there are typically a number of
outstanding system events in the event queue, that have not yet been processed by the standard event handlers.
Starting with the oldest event, the IEM kernel processes each event in turn by enabling pre-emption, and then
running the standard event handlers.
The standard event handlers are run in a very similar way to the fast event handlers. For each policy, the IEM
kernel determines whether its standard event handler recognizes the system event. If so, the IEM kernel runs the
standard event handler, passing it pointers to the IEM kernel data structures that include:
•
the system event structure describing the event
•
the IEM block describing the task that triggered the system event.
Summary of Contents for S5PC100
Page 21: ...MEMORY MAP S5PC100 USER S MANUAL REV1 0 1 2 2 ...
Page 34: ...S5PC100 USER S MANUAL REV1 0 BALL MAP SIZE POP 1 1 9 1 4 MCP CONNECTION ...
Page 49: ...IROM CODE S5PC100 USER S MANUAL REV1 0 2 6 4 12 Mhz 300 0 Mhz 100 0 Mhz 79 5 Mhz 20 6 Mhz ...
Page 174: ...CLOCK CONTROLLER S5PC100 USER S MANUAL REV1 0 2 3 24 Rs 0ohm Rf 1Mohm CL 10 35pF ...
Page 322: ...CORESIGHT S5PC100 USER S MANUAL REV1 0 3 2 4 Figure 3 2 2 S5PC100 Coresight Structure ...
Page 330: ...CORESIGHT S5PC100 USER S MANUAL REV1 0 3 2 12 Figure 3 2 7 ETB Block Diagram ...
Page 345: ...S5PC100 USER S MANUAL REV1 0 ASYNC BRIDGE 3 4 3 Figure 3 4 2 Asynchronous Bridge Components ...
Page 359: ...S5PC100 USER S MANUAL REV1 0 VECTORED INTERRUPT CONTROLLER 4 1 3 Figure 4 1 2 VIC Daisy Chain ...
Page 651: ...S5PC100 USER S MANUAL REV1 0 UART 8 1 27 Figure 8 1 10 UINTSP UINTP and UINTM block diagram ...
Page 652: ...UART S5PC100 USER S MANUAL REV1 0 8 1 28 NOTES ...
Page 743: ...S5PC100 USER S MANUAL REV1 0 MIPI HSI INTERFACE CONTROLLER 8 6 13 ...
Page 756: ...MIPI HSI INTERFACE CONTROLLER S5PC100 USER S MANUAL REV1 0 8 6 26 NOTES ...
Page 800: ...MIPI CSIS S5PC100 USER S MANUAL REV1 0 8 8 10 NOTES ...
Page 816: ...USB HOST CONTROLLER S5PC100 USER S MANUAL REV1 0 8 9 16 ...
Page 935: ...S5PC100 USER S MANUAL REV1 0 MODEM INTERFACE 8 11 13 NOTES ...
Page 1111: ...S5PC100 USER S MANUAL REV1 0 IMAGE ROTATOR 9 2 3 3 4 180 DEGREE ROTATION ...
Page 1112: ...IMAGE ROTATOR S5PC100 USER S MANUAL REV1 0 9 2 4 3 5 90 AND 270 DEGREE ROTATION ...
Page 1118: ...S5PC100 USER S MANUAL REV1 0 CAMERA INTERFACE 9 3 3 Figure 9 3 2 Camera Interface Overview ...
Page 1181: ...JPEG S5PC100 USER S MANUAL REV1 0 9 4 6 Figure 9 4 5 YCbCr4 2 2 Color Format ...
Page 1199: ...JPEG S5PC100 USER S MANUAL REV1 0 9 4 24 NOTES ...
Page 1245: ...3D ACCELERATOR S5PC100 USER S MANUAL REV1 0 9 6 18 ...
Page 1353: ...TVOUT VIDEO DAC S5PC100 USER S MANUAL REV1 0 9 7 32 ...
Page 1452: ...S5PC100 USER S MANUAL REV1 0 VIDEO PROCESSOR 9 8 43 NOTES ...
Page 1482: ...MIXER S5PC100 USER S MANUAL REV1 0 9 9 30 NOTES ...
Page 1664: ...S5PC100 USER S MANUAL REV1 0 I2S CONTROLLER 5 1CH 10 2 31 NOTES ...
Page 1701: ...AC97 CONTROLLER S5PC100 USER S MANUAL REV1 0 10 4 18 NOTES ...
Page 1731: ...SPDIF TRANSMITTER S5PC100 USER S MANUAL REV1 0 10 6 16 NOTES ...
Page 1744: ...S5PC100 USER S MANUAL REV1 0 ADC AND TOUCH SCREEN INTERFACE 10 7 13 NOTES ...
Page 1750: ...KEYPAD INTERFACE S5PC100 USER S MANUAL REV1 0 10 8 6 Figure 10 8 7 Keypad I F Block Diagram ...
Page 1755: ...S5PC100 USER S MANUAL REV1 0 KEYPAD INTERFACE 10 8 11 NOTES ...
Page 1779: ...SECURE DOMAIN MANAGER S5PC100 USER S MANUAL REV1 0 11 2 22 NOTES ...