diff options
author | Dan Crowell <dcrowell@us.ibm.com> | 2018-03-20 09:20:17 -0500 |
---|---|---|
committer | Daniel M. Crowell <dcrowell@us.ibm.com> | 2018-06-26 11:18:28 -0400 |
commit | 0e138b0da002197cc86f601be5b307386a5fdfab (patch) | |
tree | 9412e5b2803d1022f30b2646ddaefc333a627ac9 /src/kernel/start.S | |
parent | d2482ab7773d854ec50ffcd7d92bb019a217d4e3 (diff) | |
download | talos-hostboot-0e138b0da002197cc86f601be5b307386a5fdfab.tar.gz talos-hostboot-0e138b0da002197cc86f601be5b307386a5fdfab.zip |
Modify debug framework to be build-independent
During boot, Hostboot will push key pointers into memory. This
allows the debug tools to find the pointers (using a known static
memory address) to base memory accesses on. This replaces the
existing symbol lookup that we use now. That means we don't
need to have the exact symbol file for the build we're debugging
against.
Change-Id: I4618e15a3dc90acc3a89520a502eb818c1b4258c
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/56097
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP Build CI <op-jenkins+hostboot@us.ibm.com>
Tested-by: Jenkins OP HW <op-hw-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Daniel M. Crowell <dcrowell@us.ibm.com>
Diffstat (limited to 'src/kernel/start.S')
-rw-r--r-- | src/kernel/start.S | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/kernel/start.S b/src/kernel/start.S index 979235276..1e2b53cd6 100644 --- a/src/kernel/start.S +++ b/src/kernel/start.S @@ -276,6 +276,14 @@ kernel_descriptor: .byte 'H', 'O', 'S', 'T', 'B', 'O', 'O', 'T' .quad kernel_hbDescriptor +;// Hostboot debug pointers. +;// +;// This points to a table of pointers to be used by the debug tools +;// See debugpointers.H for details +.global debug_pointers +debug_pointers: + .space 8 + ;// _main: ;// Set up stack and TOC and call kernel's main. |