History log of /DragonStub/inc/dragonstub/ (Results 1 – 8 of 8)
Revision Date Author Comments
(<<< Hide modified files)
(Show modified files >>>)
552e14d523-Jan-2024 LoGin <longjin@DragonOS.org>

强制禁用VAMAP,并且修正传递给内核的PAYLOAD CONFIG Table的值 (#15)

禁用VAMAP的原因是,退出BootService后,当我们调用Set VirtAddressMap的时候,会修改Systemtable的Configuration Table的值
,导致内核获取到的config table内容为空.(这应该是一个bug,但我暂时没找到,因此禁用VAMAP临时解

强制禁用VAMAP,并且修正传递给内核的PAYLOAD CONFIG Table的值 (#15)

禁用VAMAP的原因是,退出BootService后,当我们调用Set VirtAddressMap的时候,会修改Systemtable的Configuration Table的值
,导致内核获取到的config table内容为空.(这应该是一个bug,但我暂时没找到,因此禁用VAMAP临时解决)

show more ...

7fc3806d02-Jan-2024 LoGin <longjin@DragonOS.org>

在EFI config table安装DRAGONSTUB_EFI_PAYLOAD_EFI_GUID (#13)

其值为

```
(EFI_GUID) { 0xddf1d47c, 0x102c & 0xffff, 0xaaf9 & 0xffff, { 0xce, 0x34, 0xbc, 0xef, 0x98, 0x12, 0x00, 0x31 } }
```

内容为内核被加载到

在EFI config table安装DRAGONSTUB_EFI_PAYLOAD_EFI_GUID (#13)

其值为

```
(EFI_GUID) { 0xddf1d47c, 0x102c & 0xffff, 0xaaf9 & 0xffff, { 0xce, 0x34, 0xbc, 0xef, 0x98, 0x12, 0x00, 0x31 } }
```

内容为内核被加载到的物理地址以及空间大小

show more ...

2604d78303-Dec-2023 LoGin <longjin@DragonOS.org>

设置镜像内存权限为rwx,并且退出bootservice (#9)

823f049302-Dec-2023 LoGin <longjin@DragonOS.org>

重定位内核并加载 (#7)

未完成:退出BootServices

3e6106c430-Nov-2023 LoGin <longjin@DragonOS.org>

引入libfdt并进行平台特性检测 (#6)

fe0ee6ea29-Nov-2023 LoGin <longjin@DragonOS.org>

把ELF负载绑定到dragonstub内,并检测ELF header (#5)

78b790fa28-Nov-2023 LoGin <longjin@DragonOS.org>

完善命令行参数解析 (#4)

f412fd2a28-Nov-2023 LoGin <longjin@DragonOS.org>

命令行参数解析 (#3)

* 命令行参数解析


/DragonStub/.clang-format
/DragonStub/.gitignore
/DragonStub/.vscode/settings.json
/DragonStub/ChangeLog
/DragonStub/LICENSE
/DragonStub/Make.defaults
/DragonStub/Make.rules
/DragonStub/Makefile
/DragonStub/README.md
/DragonStub/apps/AllocPages.c
/DragonStub/apps/FreePages.c
/DragonStub/apps/Makefile
/DragonStub/apps/bltgrid.c
/DragonStub/apps/ctors_dtors_priority_test.c
/DragonStub/apps/ctors_fns.c
/DragonStub/apps/ctors_test.c
/DragonStub/apps/debughook.c
/DragonStub/apps/dev-path-parser.c
/DragonStub/apps/dragon_stub-main.c
/DragonStub/apps/drv0.c
/DragonStub/apps/drv0.h
/DragonStub/apps/drv0_use.c
/DragonStub/apps/exit.c
/DragonStub/apps/helper.c
/DragonStub/apps/lfbgrid.c
/DragonStub/apps/lib/ctype.c
/DragonStub/apps/lib/hexdump.c
/DragonStub/apps/lib/vsprintf.c
/DragonStub/apps/modelist.c
/DragonStub/apps/printenv.c
/DragonStub/apps/route80h.c
/DragonStub/apps/setdbg.c
/DragonStub/apps/setjmp.c
/DragonStub/apps/stub.c
/DragonStub/apps/t.c
/DragonStub/apps/t2.c
/DragonStub/apps/t3.c
/DragonStub/apps/t4.c
/DragonStub/apps/t5.c
/DragonStub/apps/t6.c
/DragonStub/apps/t7.c
/DragonStub/apps/t8.c
/DragonStub/apps/tcc.c
/DragonStub/apps/tpause.c
/DragonStub/apps/trivial.S
/DragonStub/apps/unsetdbg.c
/DragonStub/docs/README.efilib
/DragonStub/docs/README.elilo
/DragonStub/docs/README.git
/DragonStub/docs/README.gnuefi
/DragonStub/env.mk
/DragonStub/gnuefi/Makefile
/DragonStub/gnuefi/crt0-efi-aarch64.S
/DragonStub/gnuefi/crt0-efi-arm.S
/DragonStub/gnuefi/crt0-efi-ia32.S
/DragonStub/gnuefi/crt0-efi-ia64.S
/DragonStub/gnuefi/crt0-efi-loongarch64.S
/DragonStub/gnuefi/crt0-efi-mips64el.S
/DragonStub/gnuefi/crt0-efi-riscv64.S
/DragonStub/gnuefi/crt0-efi-x86_64.S
/DragonStub/gnuefi/elf_aarch64_efi.lds
/DragonStub/gnuefi/elf_arm_efi.lds
/DragonStub/gnuefi/elf_ia32_efi.lds
/DragonStub/gnuefi/elf_ia32_fbsd_efi.lds
/DragonStub/gnuefi/elf_ia64_efi.lds
/DragonStub/gnuefi/elf_loongarch64_efi.lds
/DragonStub/gnuefi/elf_mips64el_efi.lds
/DragonStub/gnuefi/elf_riscv64_efi.lds
/DragonStub/gnuefi/elf_x86_64_efi.lds
/DragonStub/gnuefi/elf_x86_64_fbsd_efi.lds
/DragonStub/gnuefi/gnu-efi.pc.in
/DragonStub/gnuefi/reloc_aarch64.c
/DragonStub/gnuefi/reloc_arm.c
/DragonStub/gnuefi/reloc_ia32.c
/DragonStub/gnuefi/reloc_ia64.S
/DragonStub/gnuefi/reloc_loongarch64.c
/DragonStub/gnuefi/reloc_mips64el.c
/DragonStub/gnuefi/reloc_riscv64.c
/DragonStub/gnuefi/reloc_x86_64.c
/DragonStub/inc/Makefile
/DragonStub/inc/aarch64/efibind.h
/DragonStub/inc/aarch64/efilibplat.h
/DragonStub/inc/aarch64/efisetjmp_arch.h
/DragonStub/inc/arm/efibind.h
/DragonStub/inc/arm/efilibplat.h
/DragonStub/inc/arm/efisetjmp_arch.h
bug.h
build_bug.h
compiler_attributes.h
compiler_types.h
dragonstub.h
limits.h
linux-efi.h
linux/bitsperlong.h
linux/byteorder.h
linux/byteorder_little_endian.h
linux/compiler.h
linux/const.h
linux/ctype.h
linux/div64.h
linux/err.h
linux/errno-base.h
linux/errno.h
linux/hex.h
linux/once_lite.h
linux/page_types.h
linux/pfn.h
linux/posix_types.h
linux/stdarg.h
linux/stddef.h
linux/swab.h
minmax.h
printk.h
riscv64.h
types.h
/DragonStub/inc/efi.h
/DragonStub/inc/efi_nii.h
/DragonStub/inc/efi_pxe.h
/DragonStub/inc/efiapi.h
/DragonStub/inc/eficompiler.h
/DragonStub/inc/eficon.h
/DragonStub/inc/eficonex.h
/DragonStub/inc/efidebug.h
/DragonStub/inc/efidef.h
/DragonStub/inc/efidevp.h
/DragonStub/inc/efierr.h
/DragonStub/inc/efifs.h
/DragonStub/inc/efigpt.h
/DragonStub/inc/efiip.h
/DragonStub/inc/efilib.h
/DragonStub/inc/efilink.h
/DragonStub/inc/efinet.h
/DragonStub/inc/efipart.h
/DragonStub/inc/efipciio.h
/DragonStub/inc/efipoint.h
/DragonStub/inc/efiprot.h
/DragonStub/inc/efipxebc.h
/DragonStub/inc/efirtlib.h
/DragonStub/inc/efiser.h
/DragonStub/inc/efisetjmp.h
/DragonStub/inc/efishell.h
/DragonStub/inc/efishellintf.h
/DragonStub/inc/efistdarg.h
/DragonStub/inc/efitcp.h
/DragonStub/inc/efiudp.h
/DragonStub/inc/efiui.h
/DragonStub/inc/elf.h
/DragonStub/inc/ia32/efibind.h
/DragonStub/inc/ia32/efilibplat.h
/DragonStub/inc/ia32/efisetjmp_arch.h
/DragonStub/inc/ia32/pe.h
/DragonStub/inc/ia64/efibind.h
/DragonStub/inc/ia64/efilibplat.h
/DragonStub/inc/ia64/efisetjmp_arch.h
/DragonStub/inc/ia64/pe.h
/DragonStub/inc/ia64/salproc.h
/DragonStub/inc/inc.mak
/DragonStub/inc/lib.h
/DragonStub/inc/libsmbios.h
/DragonStub/inc/loongarch64/efibind.h
/DragonStub/inc/loongarch64/efilibplat.h
/DragonStub/inc/loongarch64/efisetjmp_arch.h
/DragonStub/inc/make.inf
/DragonStub/inc/makefile.hdr
/DragonStub/inc/mips64el/efibind.h
/DragonStub/inc/mips64el/efilibplat.h
/DragonStub/inc/mips64el/efisetjmp_arch.h
/DragonStub/inc/pci22.h
/DragonStub/inc/protocol/adapterdebug.h
/DragonStub/inc/protocol/eficonsplit.h
/DragonStub/inc/protocol/efidbg.h
/DragonStub/inc/protocol/efivar.h
/DragonStub/inc/protocol/ia64/eficontext.h
/DragonStub/inc/protocol/intload.h
/DragonStub/inc/protocol/legacyboot.h
/DragonStub/inc/protocol/make.inf
/DragonStub/inc/protocol/makefile.hdr
/DragonStub/inc/protocol/piflash64.h
/DragonStub/inc/protocol/readme.txt
/DragonStub/inc/protocol/vgaclass.h
/DragonStub/inc/riscv64/efibind.h
/DragonStub/inc/riscv64/efilibplat.h
/DragonStub/inc/riscv64/efisetjmp_arch.h
/DragonStub/inc/romload.h
/DragonStub/inc/x86_64/efibind.h
/DragonStub/inc/x86_64/efilibplat.h
/DragonStub/inc/x86_64/efisetjmp_arch.h
/DragonStub/inc/x86_64/pe.h
/DragonStub/lib/Makefile
/DragonStub/lib/aarch64/efi_stub.S
/DragonStub/lib/aarch64/initplat.c
/DragonStub/lib/aarch64/math.c
/DragonStub/lib/aarch64/setjmp.S
/DragonStub/lib/arm/div.S
/DragonStub/lib/arm/edk2asm.h
/DragonStub/lib/arm/efi_stub.S
/DragonStub/lib/arm/initplat.c
/DragonStub/lib/arm/ldivmod.S
/DragonStub/lib/arm/llsl.S
/DragonStub/lib/arm/llsr.S
/DragonStub/lib/arm/math.c
/DragonStub/lib/arm/mullu.S
/DragonStub/lib/arm/setjmp.S
/DragonStub/lib/arm/uldiv.S
/DragonStub/lib/boxdraw.c
/DragonStub/lib/cmdline.c
/DragonStub/lib/console.c
/DragonStub/lib/crc.c
/DragonStub/lib/ctors.S
/DragonStub/lib/data.c
/DragonStub/lib/debug.c
/DragonStub/lib/dpath.c
/DragonStub/lib/entry.c
/DragonStub/lib/error.c
/DragonStub/lib/event.c
/DragonStub/lib/exit.c
/DragonStub/lib/guid.c
/DragonStub/lib/hand.c
/DragonStub/lib/hw.c
/DragonStub/lib/ia32/efi_stub.S
/DragonStub/lib/ia32/initplat.c
/DragonStub/lib/ia32/math.c
/DragonStub/lib/ia32/setjmp.S
/DragonStub/lib/ia64/initplat.c
/DragonStub/lib/ia64/math.c
/DragonStub/lib/ia64/palproc.S
/DragonStub/lib/ia64/palproc.h
/DragonStub/lib/ia64/salpal.c
/DragonStub/lib/ia64/setjmp.S
/DragonStub/lib/init.c
/DragonStub/lib/lock.c
/DragonStub/lib/loongarch64/efi_stub.S
/DragonStub/lib/loongarch64/initplat.c
/DragonStub/lib/loongarch64/math.c
/DragonStub/lib/loongarch64/setjmp.S
/DragonStub/lib/mips64el/efi_stub.S
/DragonStub/lib/mips64el/initplat.c
/DragonStub/lib/mips64el/math.c
/DragonStub/lib/mips64el/setjmp.S
/DragonStub/lib/misc.c
/DragonStub/lib/pause.c
/DragonStub/lib/print.c
/DragonStub/lib/riscv64/initplat.c
/DragonStub/lib/riscv64/math.c
/DragonStub/lib/riscv64/setjmp.S
/DragonStub/lib/runtime/efirtlib.c
/DragonStub/lib/runtime/rtdata.c
/DragonStub/lib/runtime/rtlock.c
/DragonStub/lib/runtime/rtstr.c
/DragonStub/lib/runtime/vm.c
/DragonStub/lib/smbios.c
/DragonStub/lib/sread.c
/DragonStub/lib/str.c
/DragonStub/lib/x86_64/callwrap.c
/DragonStub/lib/x86_64/efi_stub.S
/DragonStub/lib/x86_64/initplat.c
/DragonStub/lib/x86_64/math.c
/DragonStub/lib/x86_64/setjmp.S
/DragonStub/tools/.gitignore
/DragonStub/tools/run-qemu.sh