2 /// IPF specific Debug Breakpoint Registers accessing functions
4 /// Copyright (c) 2006, Intel Corporation
5 /// All rights reserved. This program and the accompanying materials
6 /// are licensed and made available under the terms and conditions of the BSD License
7 /// which accompanies this distribution. The full text of the license may be found at
8 /// http://opensource.org/licenses/bsd-license.php
10 /// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
11 /// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
13 /// Module Name: AccessDbr.s
17 //---------------------------------------------------------------------------------
21 // This routine is used to Reads the current value of Data Breakpoint Register (DBR).
25 // On Entry : The 8-bit DBR index to read.
27 // Return Value: The current value of DBR by Index.
30 //----------------------------------------------------------------------------------
32 .type AsmReadDbr, @function
41 //---------------------------------------------------------------------------------
45 // This routine is used to write the current value to Data Breakpoint Register (DBR).
49 // On Entry : The 8-bit DBR index to read.
50 // The value should be written to DBR
52 // Return Value: The value written to DBR.
55 //----------------------------------------------------------------------------------
57 .type AsmWriteDbr, @function
69 //---------------------------------------------------------------------------------
73 // This routine is used to Reads the current value of Instruction Breakpoint Register (IBR).
77 // On Entry : The 8-bit IBR index.
79 // Return Value: The current value of IBR by Index.
82 //----------------------------------------------------------------------------------
84 .type AsmReadIbr, @function
93 //---------------------------------------------------------------------------------
97 // This routine is used to write the current value to Instruction Breakpoint Register (IBR).
101 // On Entry : The 8-bit IBR index.
102 // The value should be written to IBR
104 // Return Value: The value written to IBR.
107 //----------------------------------------------------------------------------------
109 .type AsmWriteIbr, @function