1 /// Copyright (c) 2006, Intel Corporation. All rights reserved.<BR>
2 /// This program and the accompanying materials
3 /// are licensed and made available under the terms and conditions of the BSD License
4 /// which accompanies this distribution. The full text of the license may be found at
5 /// http://opensource.org/licenses/bsd-license.php
7 /// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,
8 /// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.
10 /// Module Name: AccessDbr.s
13 /// IPF specific Debug Breakpoint Registers accessing functions
16 //---------------------------------------------------------------------------------
20 // This routine is used to Reads the current value of Data Breakpoint Register (DBR).
24 // On Entry : The 8-bit DBR index to read.
26 // Return Value: The current value of DBR by Index.
29 //----------------------------------------------------------------------------------
31 .type AsmReadDbr, @function
40 //---------------------------------------------------------------------------------
44 // This routine is used to write the current value to Data Breakpoint Register (DBR).
48 // On Entry : The 8-bit DBR index to read.
49 // The value should be written to DBR
51 // Return Value: The value written to DBR.
54 //----------------------------------------------------------------------------------
56 .type AsmWriteDbr, @function
68 //---------------------------------------------------------------------------------
72 // This routine is used to Reads the current value of Instruction Breakpoint Register (IBR).
76 // On Entry : The 8-bit IBR index.
78 // Return Value: The current value of IBR by Index.
81 //----------------------------------------------------------------------------------
83 .type AsmReadIbr, @function
92 //---------------------------------------------------------------------------------
96 // This routine is used to write the current value to Instruction Breakpoint Register (IBR).
100 // On Entry : The 8-bit IBR index.
101 // The value should be written to IBR
103 // Return Value: The value written to IBR.
106 //----------------------------------------------------------------------------------
108 .type AsmWriteIbr, @function