Skip to content

Commit

Permalink
This should definitely have been changed too...
Browse files Browse the repository at this point in the history
  • Loading branch information
Siguza committed Nov 4, 2021
1 parent 228aa98 commit 4c9b754
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 13 deletions.
12 changes: 6 additions & 6 deletions src/boot/clearhook.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
/*
* pongoOS - https://checkra.in
*
*
* Copyright (C) 2019-2021 checkra1n team
*
* This file is part of pongoOS.
Expand All @@ -11,18 +11,18 @@
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*
*/
.globl _clear_hook
.globl _clear_hook_end
Expand All @@ -41,7 +41,7 @@ add x2, x1, x0
cmp x2, x3
b.lo _clear_hook_orig_backing
mov x3, #0x800000000
movk x3, #0x1900, lsl#16
movk x3, #0x18e0, lsl#16
cmp x0, x3
b.hi _clear_hook_orig_backing
add x2, x1, x0
Expand Down
13 changes: 6 additions & 7 deletions src/boot/entry.S
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/*
/*
* pongoOS - https://checkra.in
*
*
* Copyright (C) 2019-2021 checkra1n team
*
* This file is part of pongoOS.
Expand All @@ -11,18 +11,18 @@
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
*
* The above copyright notice and this permission notice shall be included in all
* copies or substantial portions of the Software.
*
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
* SOFTWARE.
*
*
*/
.globl start
.align 4
Expand All @@ -48,7 +48,7 @@ copyloop:
#ifdef AUTOBOOT
ldr x3, [x6]
mov x4, #0x800000000
movk x4, #0x1900, lsl#16
movk x4, #0x18e0, lsl#16
mov x2, #0x7561
movk x2, #0x6f74, lsl#16
movk x2, #0x6f62, lsl#32
Expand Down Expand Up @@ -188,4 +188,3 @@ _exception_vector_el3:
b .
.balign 128
b .

0 comments on commit 4c9b754

Please sign in to comment.