From b2dc154433fecdacc245387d6b15736e3415532e Mon Sep 17 00:00:00 2001 From: Brett Weiland Date: Thu, 26 Aug 2021 21:39:57 -0500 Subject: smp boots! --- src/.gdb_history | 392 +++++++++++++++++++++++++++---------------------------- 1 file changed, 196 insertions(+), 196 deletions(-) (limited to 'src/.gdb_history') diff --git a/src/.gdb_history b/src/.gdb_history index edbca99..df12f20 100644 --- a/src/.gdb_history +++ b/src/.gdb_history @@ -1,256 +1,256 @@ -c -info threads +thread 1 +next +thread 1 +step +print core_stacks +print core_stacks[0] +print core_stacks[1] +print core_stacks[2] +print core_stacks[3] quit c -info threads -step c -print cores -print cores_active -info threads +quit +hb debug +c c -info threads +next +info reg rax +thread 1 +thread 2 +info reg rax +print smp_bootstrap_stackarray +print *smp_bootstrap_stackarray +print/x *smp_bootstrap_stackarray +inf ore g rax +print smp_bootstrap_array quit +hb debug c -info threads c -info threads quit -b smp_boot +hb debug c -qit +c +nexti +info reg ebx +info reg ebx quit -b smp.c:59 +hb debug +c c -next -info threads -next -info threads -next -info threads -info threads -info threads quit -b smp.c:65 +hb debug c +c +stepi +info reg ebx +stepi +stepi +info reg rsp +stepi +info reg esp +info reg rsp +x rbx +info reg rbx +print smp_bootstrap_stackarray +print/x *smp_bootstrap_stackarray +info reg ebx +quit +quit +stepi +info reg cl +info reg ecx +quit next -info threads -info thread 2 quit -b timer.c:57 -c +nexti +info reg ecx +stepi +info reg ebx quit -b timer.c:57 c quit -b smp.c:57 -c -print *(uint32_t *)&icr -print/x *(uint32_t *)&icr -info threads -next -info threads -next -info threads -next -info threads -next -info threads -next -info threads +stepi +info reg ebx +stepi +info reg bl +print smp_bootstrap_bsp +info reg bl +stepi +info reg bl +info reg ebx +x 0x80f0 +print (uint64_t *)0x80f0 +print (uint64_t*)0x80f0 +x 0x80f9 +stepi +stepi +info reg rsp +print smp_bootstrap_stackarray +print/x *smp_bootstrap_stackarray +quit +info reg rax +info reg rax +x 0xbffde058 +print smp_bootstrap_bsp +print &smp_bootstrap_bsp +print smp_bootstrap_bsp +x 0x80f1 +print (uint64_t)*0x80f1 +x smp_bootstrap_bsp +smp_bootstrap_bsp +print smp_bootstrap_bsp +smp_bootstrap_stackarray +print smp_bootstrap_stackarray +print *smp_bootstrap_stackarray +print smp_bootstrap_stackarray[0] +print/x smp_bootstrap_stackarray[0] +print/x smp_bootstrap_stackarray[1] +print/x smp_bootstrap_stackarray[0] +info reg rax +print smp_bootstrap_stackarray +quit +info reg rax +quit next -info threads -print/x *(uint32_t *)&icr -pirnt (void *)0x8000 -prit (void *)0x8000 -print (void *)0x8000 -print *(void *)0x8000 -print __load_start_smp_bootloader -print &__load_start_smp_bootloader -print (void *)&__load_start_smp_bootloader -print (void *)&__load_stop_smp_bootloader -quit -print &__load_start_smp_bootloader -print &__load_stop_smp_bootloader -print &__load_stop_smp_bootloader -print smp_bootstrap -print smp_bootloader -print &__load_stop_smp_bootloader -print __load_stop_smp_bootloader -print &__load_stop_smp_bootloader -print smp_bootstrap_corecount -b smp_trampoline -hb smp_trampoline -c -d -d -hb smp_trampoline -c -info reg rip +stepi quit -hb smp_trampoline c quit c +stepi quit hb smp_trampoline c -info threads -hexdump 0 -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -cc -c -c -c -c -c -c -c -d +next +hb debug c quit -b smp_trampoline -c -hb smp_trampoline -d 2 -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c -c c +quit c quit c -info threads +stepi quit c -info threads quit -info threads -next -next -print 0x8000 / 0x1000 +c next +info reg rsp +thread 2 +context quit quit -next -info threads -next -info threads -next -info threads +c +info reg cl +info reg ecx quit +c next -info threads -next -info threads -next -info threads -next -info threads -next -info threads -next -info threads quit -hb 0 +info reg rax c +info reg rax +stepi +info rax +inf oreg rax +info reg rax +info reg rbx +x 0xffff8000bffde058 +x *0xffff8000bffde058 +print *0xffff8000bffde058 +print/x *0xffff8000bffde058 +print/x (uint64_t)*0xffff8000bffde058 +print/x (uint64_t)0xffff8000bffde058 +print/x (uint64_t)*0xffff8000bffde058 +print/x (uint64_t)0xffff8000bffde058 +print/x (uint64_t)0xffff8000bffde058[1] +print ((uint64_t)0xffff8000bffde058)[1] +print ((uint64_t *)0xffff8000bffde058)[1] +print ((uint64_t *)0xffff8000bffde058)[0] +print ((uint64_t *)0xffff8000bffde058)[1] +print/x ((uint64_t *)0xffff8000bffde058)[1] quit -next -next -next -print icr -next -next -info threads +c +nexti +quit +c +stepi +stepi +info thread 0 +thread 1 +c quit next -info threads -next -info threads +print cores_active +print cores.corecount next -info threads +print cores.corecount +print cores_active next -info threads +c +print cores_active +thread 0 +print cores_active +thread 1 +print cores_active quit -b smp.c:60 c +stepi +info reg rax +thread 0 +thread 2 +print cores_active +context +thread 1 next -info threads -next -info threads +c +print cores_active +print &cores_active +thread 2 +info reg rax +info reg rax +x 0x1000bf quit -b memcpy c -print dest -x 0xffff800000008000 -print 0xffff800000008000 -print/x 0xffff800000008000 -print n -b 54 +print smp_bootstrap_stackarray +print smp_bootstrap_corecount +print smp_bootstrap_bsp +quit c +x smp_bootstrap_bsp next -info reg +print smp_bootstrap_bsp +print smp_bootstrap_stackarray +print smp_bootstrap_bsp +print smp_bootstrap_bsp info reg rax -info reg rbx -inf reg rdi -x/i 0xffff800000000000 -x/i 0xffff800000008000 - smp_trampoline -hexdump 0xffff800000008000 +x smp_bootstrap_corecount +print smp_bootstrap_corecount quit -b memcpy c -print dest -hexdump 0xffff800000008000 -b 64 c -hexdump 0xffff800000008000 -print __load_start_smp_bootloader -hexdump 0xffff800000000800 +c +c quit -info reg rsp +c +c +c +c +quit +b panic +c +thread +threads +info thread +thread 2 +thread 3 +thread 4 +quit +c +c +c +c quit -- cgit v1.2.3