]> git.ipfire.org Git - thirdparty/grub.git/commit
loongarch: Add early startup code
authorXiaotian Wu <wuxiaotian@loongson.cn>
Thu, 27 Apr 2023 07:43:03 +0000 (15:43 +0800)
committerDaniel Kiper <daniel.kiper@oracle.com>
Wed, 17 May 2023 10:53:08 +0000 (12:53 +0200)
commit6a42dd9e259ba8611069d39fab9ce89bc70f4b47
tree05a22c0c0e1b2f31737ad511722aba3d6d6e9c71
parentb5d0474e202bb0cce508eeedf7f70d9ff57b8a1b
loongarch: Add early startup code

On entry, we need to save the system table pointer as well as our image
handle. Add an early startup file that saves them and then brings us
into our main function.

Signed-off-by: Zhou Yang <zhouyang@loongson.cn>
Signed-off-by: Xiaotian Wu <wuxiaotian@loongson.cn>
Reviewed-by: Daniel Kiper <daniel.kiper@oracle.com>
grub-core/kern/loongarch64/efi/startup.S [new file with mode: 0644]