- 积分
- 10673
- 最后登录
- 2024-4-16
- 精华
- 0
- 阅读权限
- 220
- 主题
- 596
- UID
- 4568967
- 帖子
- 14232
- PB币
- 2272
- 威望
- 830
- 贡献
- 0
- 技术
- 94
- 活跃
- 3073
- UID
- 4568967
- 帖子
- 14232
- PB币
- 2272
- 贡献
- 0
- 技术
- 94
- 活跃
- 3073
|
15F
发表于 2016-10-2 11:49:32
IP属地山东
|只看该作者
- --- org.txt 2016-10-02 11:35:59.000000000 +0800
- +++ patched.txt 2016-10-02 11:42:21.000000000 +0800
- @@ -382748,7 +382748,11 @@
- ffffff800040da8a 75 0e jne 0xffffff800040da9a
- ffffff800040da8c 48 8d 3d fb 61 57 00 leaq 0x5761fb(%rip), %rdi ## literal pool for: "\"commpage submap is null\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:127"
- ffffff800040da93 31 c0 xorl %eax, %eax
- -ffffff800040da95 e8 06 99 ee ff callq _panic
- +ffffff800040da95 90 nop
- +ffffff800040da96 90 nop
- +ffffff800040da97 90 nop
- +ffffff800040da98 90 nop
- +ffffff800040da99 90 nop
- ffffff800040da9a 48 8b 3d 9f 60 67 00 movq _kernel_map(%rip), %rdi
- ffffff800040daa1 48 c7 45 d0 00 00 00 00 movq $0x0, -0x30(%rbp)
- ffffff800040daa9 c7 44 24 30 00 00 00 00 movl $0x0, 0x30(%rsp)
- @@ -382771,7 +382775,11 @@
- ffffff800040db05 48 8d 3d f7 61 57 00 leaq 0x5761f7(%rip), %rdi ## literal pool for: "\"cannot allocate commpage %d\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:140"
- ffffff800040db0c 31 c0 xorl %eax, %eax
- ffffff800040db0e 89 ce movl %ecx, %esi
- -ffffff800040db10 e8 8b 98 ee ff callq _panic
- +ffffff800040db10 90 nop
- +ffffff800040db11 90 nop
- +ffffff800040db12 90 nop
- +ffffff800040db13 90 nop
- +ffffff800040db14 90 nop
- ffffff800040db15 48 8b 3d 24 60 67 00 movq _kernel_map(%rip), %rdi
- ffffff800040db1c 48 8d 93 00 10 00 00 leaq 0x1000(%rbx), %rdx
- ffffff800040db23 48 89 55 a8 movq %rdx, -0x58(%rbp)
- @@ -382788,7 +382796,11 @@
- ffffff800040db51 48 8d 3d 24 62 57 00 leaq 0x576224(%rip), %rdi ## literal pool for: "\"cannot wire commpage: %d\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:147"
- ffffff800040db58 31 c0 xorl %eax, %eax
- ffffff800040db5a 89 ce movl %ecx, %esi
- -ffffff800040db5c e8 3f 98 ee ff callq _panic
- +ffffff800040db5c 90 nop
- +ffffff800040db5d 90 nop
- +ffffff800040db5e 90 nop
- +ffffff800040db5f 90 nop
- +ffffff800040db60 90 nop
- ffffff800040db61 4c 8b 3d d8 5f 67 00 movq _kernel_map(%rip), %r15
- ffffff800040db68 b9 0c 00 00 00 movl $0xc, %ecx
- ffffff800040db6d 4d 85 ff testq %r15, %r15
- @@ -382850,7 +382862,11 @@
- ffffff800040dc2e 48 8d 3d bd 61 57 00 leaq 0x5761bd(%rip), %rdi ## literal pool for: "\"cannot find commpage entry %d\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:158"
- ffffff800040dc35 31 f6 xorl %esi, %esi
- ffffff800040dc37 31 c0 xorl %eax, %eax
- -ffffff800040dc39 e8 62 97 ee ff callq _panic
- +ffffff800040dc39 90 nop
- +ffffff800040dc3a 90 nop
- +ffffff800040dc3b 90 nop
- +ffffff800040dc3c 90 nop
- +ffffff800040dc3d 90 nop
- ffffff800040dc3e 49 8b 44 24 38 movq 0x38(%r12), %rax
- ffffff800040dc43 c7 40 68 00 00 00 00 movl $0x0, 0x68(%rax)
- ffffff800040dc4a 48 8b 3d ef 5e 67 00 movq _kernel_map(%rip), %rdi
- @@ -382869,7 +382885,11 @@
- ffffff800040dc7b 48 8d 3d eb 61 57 00 leaq 0x5761eb(%rip), %rdi ## literal pool for: "\"cannot make entry for commpage %d\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:167"
- ffffff800040dc82 31 c0 xorl %eax, %eax
- ffffff800040dc84 89 ce movl %ecx, %esi
- -ffffff800040dc86 e8 15 97 ee ff callq _panic
- +ffffff800040dc86 90 nop
- +ffffff800040dc87 90 nop
- +ffffff800040dc88 90 nop
- +ffffff800040dc89 90 nop
- +ffffff800040dc8a 90 nop
- ffffff800040dc8b 4c 8b 4d c8 movq -0x38(%rbp), %r9
- ffffff800040dc8f 48 c7 45 d0 00 00 00 00 movq $0x0, -0x30(%rbp)
- ffffff800040dc97 89 5c 24 18 movl %ebx, 0x18(%rsp)
- @@ -382891,7 +382911,11 @@
- ffffff800040dce5 48 8d 3d 00 62 57 00 leaq 0x576200(%rip), %rdi ## literal pool for: "\"cannot map commpage %d\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:180"
- ffffff800040dcec 31 c0 xorl %eax, %eax
- ffffff800040dcee 89 ce movl %ecx, %esi
- -ffffff800040dcf0 e8 ab 96 ee ff callq _panic
- +ffffff800040dcf0 90 nop
- +ffffff800040dcf1 90 nop
- +ffffff800040dcf2 90 nop
- +ffffff800040dcf3 90 nop
- +ffffff800040dcf4 90 nop
- ffffff800040dcf5 48 8b 75 c8 movq -0x38(%rbp), %rsi
- ffffff800040dcf9 b8 ff ff ff ff movl $0xffffffff, %eax
- ffffff800040dcfe f0 lock
- @@ -383054,7 +383078,11 @@
- ffffff800040df3c 48 8d 3d c0 5c 57 00 leaq 0x575cc0(%rip), %rdi ## literal pool for: "\"commpage overlap at address 0x%p, 0x%x < 0x%x\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:395"
- ffffff800040df43 4c 89 ee movq %r13, %rsi
- ffffff800040df46 89 da movl %ebx, %edx
- -ffffff800040df48 e8 53 94 ee ff callq _panic
- +ffffff800040df48 90 nop
- +ffffff800040df49 90 nop
- +ffffff800040df4a 90 nop
- +ffffff800040df4b 90 nop
- +ffffff800040df4c 90 nop
- ffffff800040df4d 4c 89 e7 movq %r12, %rdi
- ffffff800040df50 4c 89 ee movq %r13, %rsi
- ffffff800040df53 4c 89 fa movq %r15, %rdx
- @@ -383108,7 +383136,11 @@
- ffffff800040e02a 48 8d 3d d2 5b 57 00 leaq 0x575bd2(%rip), %rdi ## literal pool for: "\"commpage overlap at address 0x%p, 0x%x < 0x%x\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:395"
- ffffff800040e031 4c 89 ee movq %r13, %rsi
- ffffff800040e034 89 da movl %ebx, %edx
- -ffffff800040e036 e8 65 93 ee ff callq _panic
- +ffffff800040e036 90 nop
- +ffffff800040e037 90 nop
- +ffffff800040e038 90 nop
- +ffffff800040e039 90 nop
- +ffffff800040e03a 90 nop
- ffffff800040e03b 4c 89 e7 movq %r12, %rdi
- ffffff800040e03e 4c 89 ee movq %r13, %rsi
- ffffff800040e041 4c 89 fa movq %r15, %rdx
- @@ -383133,7 +383165,11 @@
- ffffff800040e085 41 5e popq %r14
- ffffff800040e087 41 5f popq %r15
- ffffff800040e089 5d popq %rbp
- -ffffff800040e08a e9 11 93 ee ff jmp _panic
- +ffffff800040e08a 90 nop
- +ffffff800040e08b 90 nop
- +ffffff800040e08c 90 nop
- +ffffff800040e08d 90 nop
- +ffffff800040e08e 90 nop
- ffffff800040e08f 48 83 c4 08 addq $0x8, %rsp
- ffffff800040e093 5b popq %rbx
- ffffff800040e094 41 5c popq %r12
- @@ -383165,20 +383201,32 @@
- ffffff800040e0da 74 0e je 0xffffff800040e0ea
- ffffff800040e0dc 48 8d 3d 0e 5f 57 00 leaq 0x575f0e(%rip), %rdi ## literal pool for: "\"nanotime trouble 1\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:600"
- ffffff800040e0e3 31 c0 xorl %eax, %eax
- -ffffff800040e0e5 e8 b6 92 ee ff callq _panic
- +ffffff800040e0e5 90 nop
- +ffffff800040e0e6 90 nop
- +ffffff800040e0e7 90 nop
- +ffffff800040e0e8 90 nop
- +ffffff800040e0e9 90 nop
- ffffff800040e0ea 48 8b 43 10 movq 0x10(%rbx), %rax
- ffffff800040e0ee 4c 39 e8 cmpq %r13, %rax
- ffffff800040e0f1 76 0e jbe 0xffffff800040e101
- ffffff800040e0f3 48 8d 3d 67 5f 57 00 leaq 0x575f67(%rip), %rdi ## literal pool for: "\"nanotime trouble 2\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:602"
- ffffff800040e0fa 31 c0 xorl %eax, %eax
- -ffffff800040e0fc e8 9f 92 ee ff callq _panic
- +ffffff800040e0fc 90 nop
- +ffffff800040e0fd 90 nop
- +ffffff800040e0fe 90 nop
- +ffffff800040e0ff 90 nop
- +ffffff800040e100 90 nop
- ffffff800040e101 45 85 ff testl %r15d, %r15d
- ffffff800040e104 74 17 je 0xffffff800040e11d
- ffffff800040e106 f6 05 74 d6 67 00 40 testb $0x40, __cpu_capabilities(%rip)
- ffffff800040e10d 75 0e jne 0xffffff800040e11d
- ffffff800040e10f 48 8d 3d bb 5f 57 00 leaq 0x575fbb(%rip), %rdi ## literal pool for: "\"nanotime trouble 3\"@/Library/Caches/com.apple.xbs/Sources/xnu/xnu-3789.1.32/osfmk/i386/commpage/commpage.c:604"
- ffffff800040e116 31 c0 xorl %eax, %eax
- -ffffff800040e118 e8 83 92 ee ff callq _panic
- +ffffff800040e118 90 nop
- +ffffff800040e119 90 nop
- +ffffff800040e11a 90 nop
- +ffffff800040e11b 90 nop
- +ffffff800040e11c 90 nop
- ffffff800040e11d 8b 05 25 82 6e 00 movl 0x6e8225(%rip), %eax
- ffffff800040e123 8d 48 01 leal 0x1(%rax), %ecx
- ffffff800040e126 83 c0 02 addl $0x2, %eax
复制代码 以上为楼上的内核修改内容。
|
|