Fundamental of architecture to implementing OS on AArch64

F28abade40c3fa0565f578f7dbae6560?s=47 orumin
August 08, 2020

Fundamental of architecture to implementing OS on AArch64

2020/08/08 Arm 勉強会資料

F28abade40c3fa0565f578f7dbae6560?s=128

orumin

August 08, 2020
Tweet

Transcript

  1.    

  2. 0123 0123 4567ÿ 9 ÿ ÿ  ÿ  !ÿ

    9 ÿ "#$%&'!( )*+6,-5% 9 ÿ ./012  9 ÿ 3/&'(4!567 9 ÿ 8$79:;(ÿ 9 9 < = > ? ÿ !@A/0!7 9 ÿ B C D C B ÿ EFG7HIÿ B C D C B ÿ &'(JKL!MM N
  3. 01 ÿ 3456789 01 ÿ 3456789 ÿ  ÿ 

     ! "#$% &'()*+,-./0- 12 3
  4. 01 ÿ 3456789 01 ÿ 3456789 ÿ ÿ  !

    "#$%&ÿ ÿ ''( )*+,-./01230 45 6
  5. 0 1 2ÿ 45678ÿ ÿ 0 1 2ÿ 45678ÿ ÿ

     ÿ      ÿ ÿ     ÿ     ÿ   ! "  # $ ÿ %&'()* +,-./012ÿ 3 4   # 3 ÿ     ÿ   ! " #  $ ÿ 5  ÿ 6 7 3 8 5  ÿ 9 : 3 "  ; $ ÿ < :  5=>?@AB12CD EFGHIJÿ  ÿ KJLMÿ  ÿ NLO5(*5P Q R S " 7 ÿ  ÿ .TUVWXYIJÿ  P Q ÿ KJLMÿ   ! P Q Z[\ÿ L]Jÿ  P Q ÿ =12CD*^ÿ ;   ÿ _T`0L]Ja)b   ! P Q ÿ KcdKeDÿ   ÿ Jÿ P Q 5   ! f g ÿ KcdKeDÿ   ÿ Jÿ f g ÿ =ÿ h f g ij=12k5lm_n0oL]Kp2qrsN12tuvDL]wxLyT+ze{|} Lqrs~J€=‚D ƒ „ „ … † ‡ ÿ ‰ Š ‹ Œ  ÿ ‹ Ž ‡ †   ‡ ÿ ‘ ’  ‹ “ ’ ” ‹ • ’ “ ‹ † Œ „ ÿ –† — ˜  ‡ ™ ÿ   ‡ Ž‹ “ “  š ÿ ‘ ’  ‹ “ ’ ” ‹ • ’ “ ‹ † Œ ÿ † ‘ ‘ ‰ ‡ Š ÿ —›  Œ ÿ ‰ Š ‹ Œ  ÿ ’ Œ ÿ œ ‡ Žÿ —† ‡ š “ ‡ ’ š  Ž’ ‡  ÿ ‹ Œ ÿ ›  ’ š ” ‹ Œ  Š ™ ÿ “ ‹ “ ”  Š ÿ † ‡ ÿ “  ž “ ÿ —›  ‡  ÿ ’ ” ” ÿ † Ÿ ÿ “ ›  ÿ Š ‰ ‡ ‡ † ‰ Œ š ‹ Œ  ÿ —† ‡ š Š ÿ ’ ‡  ÿ Š › † —Œ ÿ ‹ Œ ÿ ‰    ‡ ‘ ’ Š  ‘ › ’ ‡ ’ ‘ “  ‡ Š „ ÿ Œ ÿ “ › ‹ Š ÿ Š ‹ “ ‰ ’ “ ‹ † Œ ™ ÿ ¡ † ‰ ÿ Ž’ ¡ ÿ ‰ Š  ÿ “ ›  ÿ ‡  ”  ˜ ’ Œ “ ÿ œ ‡ Žÿ “ ‡ ’ š  Ž’ ‡  ÿ ‹ Œ ÿ ‰    ‡ ‘ ’ Š  ÿ ‘ › ’ ‡ ’ ‘ “  ‡ Š ™ ÿ  ‡ † ˜ ‹ š  š “ › ’ “ ÿ Š ‰ ‘ › ÿ ‰ Š  ÿ ‘ † Ž ” ‹  Š ÿ —‹ “ › ÿ “ ›  Š  ÿ  ‰ ‹ š  ” ‹ Œ  Š „ ¢
  6. 0 1 2ÿ 45678ÿ ÿ 0 0 1  ÿ

     0 1 2ÿ 45678ÿ ÿ 0 0 1  ÿ    ÿ  !"#$ % & ' ( ) * ÿ + , ÿ -./0123 4 & 5 ÿ 6 7ÿ 8 ÿ 9:;<=0>?@ABC D E FG H I D ÿ JKA!"ÿ L  E 4 G 4 ) ( 5 ( ÿ M ( G ( ) N ÿ 0;<=OPQRQSTUV  M 6 W  M X ÿ YZ ;<=A9ÿ H ÿ [ \] ^
  7. 0 1 2ÿ 45678ÿ ÿ 0 0 1  ÿ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5  ÿ   ÿ ‘’ ÿ Q R S Š ÿ ‹  ‹ “ ‹ ” 3 •’ – ” 3 • Š ÿ ‹  — ‹ ‹ ˜ ” •’ – ˜ ” • Š ÿ ‹  — “ ‹ Q  c c Ž c ’ – Q  c c Ž c Š ÿ ‹  ™ ‹ ‹ Œ  5 d e c Ž 5 Ž  Œ s d  c c s 5  ÿ   ÿ ‘’ ÿ Q R T Š ÿ ‹  ™ “ ‹ ” 3 •’ – ” 3 • Š ÿ ‹  š ‹ ‹ ˜ ” •’ – ˜ ” • Š ÿ ‹  š “ ‹ Q  c c Ž c ’ – Q  c c Ž c Š ÿ ‹  5 ‹ ‹ Œ  5 d e c Ž 5 Ž  Œ s t Ž ‘s c ÿ   ÿ  Œ › 5 œ 2 2 c d e f g Š ÿ ‹  5 “ ‹ ” 3 •’ – ” 3 • Š ÿ ‹   ‹ ‹ ˜ ” •’ – ˜ ” • Š ÿ ‹   “ ‹ Q  c c Ž c ’ – Q  c c Ž c Š ÿ ‹  4 ‹ ‹ Œ  5 d e c Ž 5 Ž  Œ s t Ž ‘s c ÿ   ÿ  Œ › 5 œ 2 2 c d e  h Š ÿ ‹  4 “ ‹ ” 3 •’ – ” 3 • Š ÿ ‹  ž ‹ ‹ ˜ ” •’ – ˜ ” • Š ÿ ‹  ž “ ‹ Q  c c Ž c ’ – Q  c c Ž c Ÿ ¡
  10. 0 0 1 2 3 4 5 ÿ 789 ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 789 ÿ ÿ    !!"#$%& '( )
  11. 0 0 1 2 3 4 5 ÿ 789 ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 789 ÿ ÿ    !"#$%& !'()*+,-./ÿ 1 ÿ 23456789:34 ;<=>? @'ABCDE"FG,-H:H 1 ÿ 345IJABK)ÿ L M L N OP Q N ÿ 2*+R;<=2ÿ S T UV W X Y UV W X ÿ > Z[ \ ]^ ÿ`abÿ`cbÿd \^bÿe f cg hiÿjjÿ\^ ÿkÿ \^ ÿf cg \ ]^ ÿ`lbÿ`mbÿd \^bÿe f cg hiÿjjÿ\^ ÿkÿ \^ ÿf cg n nn ÿÿÿÿÿÿÿÿÿÿÿÿÿ ÿÿÿÿÿÿÿÿjjÿopqrstuvwxyqzv{|}~ÿ €‚ƒ ÿ „ …ÿ †‡ˆ‰Š‹†ŒŠ‚† Ž‡ÿÿÿÿÿÿjjÿp‘’“”•–—˜™šv›œžŸ ¡|¢ £ÿ „ …ÿ ¤Š‹†ŒŠƒˆ¥‰¦‡† ÿÿÿÿÿÿÿÿjjÿ¤ÿ–§¨tu©ª «¬¡|¢ £ÿ … ­^ ÿ`lbÿ`mbÿd \^hbÿ ec g ÿÿÿjjÿ\ÿkÿ \^ ÿ®ÿ cg … ­^ ÿ`abÿ`cbÿd \^hbÿ ec g ÿÿÿjjÿ\ÿkÿ \^ ÿ®ÿ cg n nn ¯ °¯] ±² ³
  12. 0 0 1 2 3 4 5 ÿ 7889ÿ ÿ

     0 0 1 2 3 4 5 ÿ 7889ÿ ÿ      ÿ           ÿ      ÿ     ÿ        ! "     ÿ # $ ÿ %&'(ÿ )  *     ÿ +ÿ     , - . / 0 1 2 3 , - . / . 4 . * 0 ÿ 56( 7898:;<=8>?:;@ABCBDEF'GB(     - ÿ +ÿ - H - Iÿ - H - - - - J J J J 1 J J J J J J J J ÿ Kÿ 4 L #       / ÿ +ÿ - H J J J J - - - - 1 - - - - - - - - Iÿ - H J J J J J J J J 1 J J J J J J J J ÿ Kÿ 4 L #   MNOÿ 2 3 4 P * ÿ %+ÿ     - ÿ OQRE SSTÿ KUV+ÿ  )  1 2 3  ÿ WXYZ@[R\ ]^ _
  13. 0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ ÿ      ÿ       0 ÿ     ÿ      1      ÿ  !   2 " ÿ 0   1    ÿ     #  $ ÿ  1   "   %  ÿ $1  & "  #  ' ( ) * + ÿ -./012345678-9:-;<8=>6?-@A1BC DDEÿ -FGHIJK;L./0-9M1 23NO-;P?1QRI=ST68U V ) V V V ÿ Wÿ X Y ( ) * + 4V ) Z V Z ÿ Wÿ [ \ ( ) * + ÿ -]^JK;L./04 >6?-B_@A123N V ) V V ÿ ` ÿ [ a b c ÿ V ) V Z ÿ ` ÿ Z ' a b c ÿ V ) Z Z ÿ ` ÿ ' [ a b de f
  14. 0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ ÿ     !  ÿ #$%&'ÿ ( ! ) *  * + ,-./012345678-9:-9; < = > ÿ ?@;ABCD:-9EFGHIJ KL01%D:-9MNOGH%PQ * R S R T ÿ ( ! ) *  * + ) U V < ÿ Wÿ U XY Z ÿ ) [ V < ÿ Wÿ [ \Y Z ÿ ) ] V < ÿ Wÿ ( ^ Y _.`abc@_defagÿ U [ ! h i j ( ^ Y ÿ :-9 ) U V < ÿ Wÿ kClmgnGÿ ) [ V < ÿ 2c5Z ÿ ) [ V < ÿ Wÿ ] [ \Y Z ÿ ) ] V < ÿ Wÿ U o ^ Y _.`abc@_defag U ( ! h i j U o ^ Y ÿ :-9 pq r
  15. 0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ ÿ         ! ÿ # $ %& ' ( ÿ  ) ) ' * + , ) $ ÿ  ! - * ' $ . ) * & ! ÿ  $ / * 0 ) $ ' 1 ÿ 234567896:;<=>? @ A + * ) ÿ BCDE9;ÿ @ ÿ FGFH:IJ KL9MNO;ÿ . P . Q $ P + R $ ÿ & ' ÿ ! & ! A ÿ STUV>? WX Y
  16. 0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 7ÿ 889ÿ ÿ   !"#$%&'()*(ÿ , - . ÿ / 0 . 123 4. 12ÿ 567 8 1 9:; <1 9: = > ? = @ > A B C C D E E F G ÿ E H E I J K J L F K M N F C O D E E F G ÿ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ÿ ^_9`9ab9# cd e
  21. 0 1 2 3 0 1 2 3 4567ÿ 9

    ÿ  ÿ    ÿ   !"#$%   ÿ &' ()*+    ÿ ,ÿ - - . / 0 1 2 ÿ 3456789&:;<= >?@A,< - BC ÿ DEFGH IJKLMNO7P5QRS78TU,VW"X YZ[6Z,\W"]&K" ^_ ÿ `ab7cde =ÿ - 9  f - ÿ DXgÿ  h i j k ÿ ,\:;S= ^l j h m _ nÿ oSpq r7XsDK"tu YZ[6Z:;vK"X wx y
  22. 0 1 2ÿ 4567 0 1 2ÿ 4567 8 9

    ÿ   ÿ ÿ  8  ÿ ÿ   8 ÿ  8  ÿ  ! " # $ÿ %&'()*+,-. / 01 /
  23. 01 2 3 3 4 01 2 3 3 4

    56789 7 ÿ    ÿ      !" #$%&'()*+ #$,-9./012 3456 7 8 9 ÿ :;< #'=>(< #?@ABC)D7)CEF7GH@I 1JKLM NO"$P>QR: S TU V
  24. 01 2 3 01 2 3 4 5 6 7

    8 ÿ ÿ  ÿ 4     ÿ  !"#$%&'()* + , 6 , - , 8 ÿ ./012345677891ÿ  4 ÿ .:;<=>? @8A5ÿ + , 6 , - , 8 ÿ BCDEF!GHI JKLMG56775ÿ 4 N O ÿ BPQ + , 6 , - , 8 ÿ ÿ RS O 4 ÿ T+ U V 7 + ÿ BWXYZ[1A\]^_ `ab!c! 6de$fgJ 5ÿ  + hÿ i , ÿ jCk0lD1mD  n n 8 7 ÿ i U 8 U - , 5 ÿ oo<p<qÿ  n n 8 7 ÿ S O 4 ÿ 5\]por stÿ  + hÿ ouv 1A=wx1poy z {| }
  25. 0 1 2 3 4 1 1 5 0 1

    2 3 4 1 1 5 6789 7 7 7 7 !"#$%& '( ) * * + ÿ -ÿ '. / 0 ÿ 712#3 4 56 7
  26. 0 0 1 2 3 4 5 ÿ 789 ÿ

    ÿ  0 0 1 2 3 4 5 ÿ 789 ÿ ÿ       ÿ ÿ   ÿ  !"#$% &  ' ( ) ÿ * + ÿ ,-./012345ÿ  6 + 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