summaryrefslogtreecommitdiffstats
path: root/c/src/exec/score/cpu
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-24 14:32:46 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-02-24 14:32:46 +0000
commit6dfebd9f338fcd9811a7147493fe444c24f57fe5 (patch)
tree90ef36d572b614fb02f7761abffc07223a7a0990 /c/src/exec/score/cpu
parentAccidentally moved. (diff)
downloadrtems-6dfebd9f338fcd9811a7147493fe444c24f57fe5.tar.bz2
Corrected name of constant so this would compile.
Diffstat (limited to 'c/src/exec/score/cpu')
-rw-r--r--c/src/exec/score/cpu/i386/cpu.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/c/src/exec/score/cpu/i386/cpu.c b/c/src/exec/score/cpu/i386/cpu.c
index 9c702ce382..da270d80e7 100644
--- a/c/src/exec/score/cpu/i386/cpu.c
+++ b/c/src/exec/score/cpu/i386/cpu.c
@@ -106,7 +106,7 @@ void _defaultExcHandler (CPU_Exception_frame *ctx)
printk("Error code pushed by processor itself (if not 0) = %x\n",
ctx->faultCode);
printk("----------------------------------------------------------\n");
- if (ctx->idtIndex == PAGE_FAULT){
+ if (ctx->idtIndex == I386_EXCEPTION_PAGE_FAULT){
faultAddr = i386_get_cr2();
printk("Page fault linear address (CR2) = %x\n",
faultAddr);