fix applesmc REV key
PATCH 1/1 fix applesmc REV key
Fix applesmc REV key string literal hex encoding.
Signed-off-by René Rebe <[email protected]>
hw/applesmc.c renamed from hw/applesmc.c.vanilla +1 -1
@@ -188,7 +188,7 @@QLIST_REMOVE (d, node); } -applesmc_add_key (s,"REV " ,6 ,"\0x01\0x13\0x0f\0x00\0x00\0x03" ); +applesmc_add_key (s,"REV " ,6 ,"\x01\x13\x0f\x00\x00\x03" );applesmc_add_key (s,"OSK0" ,32 , s->osk);applesmc_add_key (s,"OSK1" ,32 , s->osk +32 );applesmc_add_key (s,"NATJ" ,1 ,"\0" );
Signature · 4 lines
René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478 Managing Directors: Susanne Klaus, René Rebe http://exactcode.com | http://t2-project.org | http://rene.rebe.de
Quoted 3 lines · René Rebe
Fix applesmc REV key string literal hex encoding.
Signed-off-by René Rebe <[email protected]>
Acked-by Alexander Graf <[email protected]>
Alex
Quoted 19 lines
hw/applesmc.c renamed from hw/applesmc.c.vanilla +1
-1@@ -188,7 +188,7 @@QLIST_REMOVE (d, node); } -applesmc_add_key (s,"REV " ,6 ,"\0x01\0x13\0x0f\0x00\0x00\0x03" ); +applesmc_add_key (s,"REV " ,6 ,"\x01\x13\x0f\x00\x00\x03" );applesmc_add_key (s,"OSK0" ,32 , s->osk);applesmc_add_key (s,"OSK1" ,32 , s->osk +32 );applesmc_add_key (s,"NATJ" ,1 ,"\0" );Signature · 5 lines
-- René Rebe, ExactCODE GmbH, Jaegerstr. 67, DE-10117 Berlin DE Legal: Amtsgericht Charlottenburg HRB 105123B, Tax-ID#: DE251602478 Managing Directors: Susanne Klaus, René Rebe http://exactcode.com | http://t2-project.org | http://rene.rebe.de
Aurelien Jarno
AppliedQuoted 8 lines · René Rebe
Fix applesmc REV key string literal hex encoding.
Signed-off-by René Rebe <[email protected]>
hw/applesmc.c line 194
Quoted 8 lines
hw/applesmc.c renamed from hw/applesmc.c.vanilla +1
-1@@ -188,7 +188,7 @@QLIST_REMOVE (d, node); } -applesmc_add_key (s,"REV " ,6 ,"\0x01\0x13\0x0f\0x00\0x00\0x03" ); +applesmc_add_key (s,"REV " ,6 ,"\x01\x13\x0f\x00\x00\x03" );applesmc_add_key (s,"OSK0" ,32 , s->osk);applesmc_add_key (s,"OSK1" ,32 , s->osk +32 );applesmc_add_key (s,"NATJ" ,1 ,"\0" );
Thanks, applied.
Signature · 2 lines
Aurelien Jarno GPG: 1024D/F1BCDB73 [email protected] http://www.aurel32.net