hi,all when I read xen source code ,I find switch ( vector ) { case TRAP_debug: /* * Updates DR6 where debugger can peek (See 3B 23.2.1, * Table 23-1, "Exit Qualification for Debug Exceptions"). */ exit_qualification = __vmread(EXIT_QUALIFICATION); write_debugreg(6, exit_qualification | 0xffff0ff0); if ( !v->domain->debugger_attached || cpu_has_monitor_trap_flag ) goto exit_and_crash; domain_pause_for_debugger(); break; what does "See 3B 23.2.1 Table 23-1" mean? -- ---------------------------------------------------------- regards, yandong _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
Am Montag 06 Mai 2013, 10:03:29 schrieb yandong han:> hi,all > when I read xen source code ,I find > > > > switch ( vector ) > { > case TRAP_debug: > /* > * Updates DR6 where debugger can peek (See 3B 23.2.1, > * Table 23-1, "Exit Qualification for Debug Exceptions"). > */ > exit_qualification = __vmread(EXIT_QUALIFICATION); > write_debugreg(6, exit_qualification | 0xffff0ff0); > if ( !v->domain->debugger_attached || cpu_has_monitor_trap_flag > ) > goto exit_and_crash; > domain_pause_for_debugger(); > break; > > > what does "See 3B 23.2.1 Table 23-1" mean?Intel® 64 and IA-32 Architectures Software Developer’s Manual Volume 3B: System Programming Guide, Part 2 Maybe the chapter/table number has changed in newer document versions. Dietmar. -- Company details: http://ts.fujitsu.com/imprint.html _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel
On Mon, May 06, 2013 at 03:03:29AM +0100, yandong han wrote:> hi,all > when I read xen source code ,I find > > > > switch ( vector ) > { > case TRAP_debug: > /* > * Updates DR6 where debugger can peek (See 3B 23.2.1, > * Table 23-1, "Exit Qualification for Debug Exceptions"). > */I think that refers to Intel manuals. Search the quoted string should give you enough information to start with. Wei.