Skip to content

Commit

Permalink
added handler of SMC calling convention version
Browse files Browse the repository at this point in the history
  • Loading branch information
rafaello7 committed May 4, 2018
1 parent d7f82f0 commit f53c8d8
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/psci.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,9 @@ void psciHandler(unsigned long *regs)
unsigned long result = 0;

switch( regs[0] ) {
case 0x80000000: // SMC calling convention version
result = 0; // version 1.0
break;
case 0x84000000: // PSCI_VERSION
result = 0x10001; // version: 1.1
break;
Expand Down

0 comments on commit f53c8d8

Please sign in to comment.