|
@@ -79,6 +79,9 @@ static int efi_entropy_enable ( void ) {
|
79
|
79
|
DBGC ( &tick, "ENTROPY %s RNG protocol\n",
|
80
|
80
|
( efirng ? "has" : "has no" ) );
|
81
|
81
|
|
|
82
|
+ /* Drop to TPL_APPLICATION to allow timer tick event to take place */
|
|
83
|
+ bs->RestoreTPL ( TPL_APPLICATION );
|
|
84
|
+
|
82
|
85
|
/* Create timer tick event */
|
83
|
86
|
if ( ( efirc = bs->CreateEvent ( EVT_TIMER, TPL_NOTIFY, NULL, NULL,
|
84
|
87
|
&tick ) ) != 0 ) {
|
|
@@ -100,6 +103,9 @@ static void efi_entropy_disable ( void ) {
|
100
|
103
|
|
101
|
104
|
/* Close timer tick event */
|
102
|
105
|
bs->CloseEvent ( tick );
|
|
106
|
+
|
|
107
|
+ /* Return to TPL_CALLBACK */
|
|
108
|
+ bs->RaiseTPL ( TPL_CALLBACK );
|
103
|
109
|
}
|
104
|
110
|
|
105
|
111
|
/**
|