mirror of
https://github.com/Fennix-Project/Kernel.git
synced 2025-07-14 08:49:17 +00:00
Implement mb2 stub support
This commit is contained in:
@ -1,17 +0,0 @@
|
||||
// .section ".text.boot"
|
||||
//
|
||||
// .global _start
|
||||
// .org 0x80000
|
||||
// _start:
|
||||
// ldr x5, =_start
|
||||
// mov sp, x5
|
||||
// ldr x5, =_kernel_rodata_end
|
||||
// ldr w6, =_bss_size
|
||||
// 1: cbz w6, 2f
|
||||
// str xzr, [x5], #8
|
||||
// sub w6, w6, #1
|
||||
// cbnz w6, 1b
|
||||
// 2: bl arm64Entry
|
||||
// Halt:
|
||||
// wfe
|
||||
// b Halt
|
@ -1,17 +0,0 @@
|
||||
// .section ".text.boot"
|
||||
|
||||
// .global _start
|
||||
// .org 0x80000
|
||||
// _start:
|
||||
// ldr x5, =_start
|
||||
// mov sp, x5
|
||||
// ldr x5, =_kernel_rodata_end
|
||||
// ldr w6, =_bss_size
|
||||
// 1: cbz w6, 2f
|
||||
// str xzr, [x5], #8
|
||||
// sub w6, w6, #1
|
||||
// cbnz w6, 1b
|
||||
// 2: bl arm64Entry
|
||||
// Halt:
|
||||
// wfe
|
||||
// b Halt
|
@ -1 +0,0 @@
|
||||
// C++ constructor/destructor stuff
|
@ -1 +0,0 @@
|
||||
// C++ constructor/destructor stuff
|
@ -1,13 +0,0 @@
|
||||
// .section .init
|
||||
// .global _init
|
||||
// .type _init, @function
|
||||
// _init:
|
||||
// push %rbp
|
||||
// movq %rsp, %rbp
|
||||
|
||||
// .section .fini
|
||||
// .global _fini
|
||||
// .type _fini, @function
|
||||
// _fini:
|
||||
// push %rbp
|
||||
// movq %rsp, %rbp
|
@ -1,7 +0,0 @@
|
||||
.section .init
|
||||
// popq %rbp
|
||||
ret
|
||||
|
||||
.section .fini
|
||||
// popq %rbp
|
||||
ret
|
Reference in New Issue
Block a user