summaryrefslogtreecommitdiffstats
path: root/c/src/lib/include/rdbg/i386
diff options
context:
space:
mode:
authorJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 13:31:13 +0000
committerJoel Sherrill <joel.sherrill@OARcorp.com>1999-11-16 13:31:13 +0000
commit1bcdb3f6ec4574b680f3237ff7683fd7e961c76a (patch)
treebf0e71d7aa9b5a4f94640b590d7f9c0d8cce2d6c /c/src/lib/include/rdbg/i386
parentRemoved nanosleep() since it is now in its own file. (diff)
downloadrtems-1bcdb3f6ec4574b680f3237ff7683fd7e961c76a.tar.bz2
Committed modifications from ITRON Task and Task Dependendent Synchronization
Working Group. Included are tests.
Diffstat (limited to 'c/src/lib/include/rdbg/i386')
-rw-r--r--c/src/lib/include/rdbg/i386/Makefile.am33
-rw-r--r--c/src/lib/include/rdbg/i386/rdbg_f.h41
-rw-r--r--c/src/lib/include/rdbg/i386/reg.h36
3 files changed, 0 insertions, 110 deletions
diff --git a/c/src/lib/include/rdbg/i386/Makefile.am b/c/src/lib/include/rdbg/i386/Makefile.am
deleted file mode 100644
index 8b768f4f49..0000000000
--- a/c/src/lib/include/rdbg/i386/Makefile.am
+++ /dev/null
@@ -1,33 +0,0 @@
-##
-## $Id$
-##
-
-AUTOMAKE_OPTIONS = foreign 1.4
-
-H_PIECES = rdbg_f.h reg.h
-
-noinst_HEADERS = $(H_PIECES)
-
-##TMPINSTALL_FILES = \
-##$(PROJECT_INCLUDE)/rdbg/i386 \
-##$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rdbg/i386/%)
-
-##$(PROJECT_INCLUDE)/rdbg/i386:
-## @$(mkinstalldirs) $@
-##$(PROJECT_INCLUDE)/rdbg/i386/%.h: %.h
-## $(INSTALL_DATA) $< $@
-
-TMPINSTALL_FILES = \
-$(PROJECT_INCLUDE)/rdbg \
-$(noinst_HEADERS:%=$(PROJECT_INCLUDE)/rdbg/%)
-
-$(PROJECT_INCLUDE)/rdbg:
- @$(mkinstalldirs) $@
-$(PROJECT_INCLUDE)/rdbg/%.h: %.h
- $(INSTALL_DATA) $< $@
-
-all-am: $(TMPINSTALL_FILES)
-debug-am: $(TMPINSTALL_FILES)
-profile-am: $(TMPINSTALL_FILES)
-
-include $(top_srcdir)/../../../automake/local.am
diff --git a/c/src/lib/include/rdbg/i386/rdbg_f.h b/c/src/lib/include/rdbg/i386/rdbg_f.h
deleted file mode 100644
index c75cecc7bc..0000000000
--- a/c/src/lib/include/rdbg/i386/rdbg_f.h
+++ /dev/null
@@ -1,41 +0,0 @@
-/*
- **************************************************************************
- *
- * Component = RDBG
- * Module = rdbg_f.h
- *
- * Synopsis = Machine-dependent header file
- *
- * $Id$
- *
- **************************************************************************
- */
-
-#ifndef RDBG_F_H
-#define RDBG_F_H
-
-#include <rtems.h>
-#include <rdbg/remdeb.h>
-
-#define EFLAGS_TF 0x00100
-
-static inline int isRdbgException(Exception_context *ctx)
-{
- if (
- ctx->ctx->idtIndex != I386_EXCEPTION_DEBUG &&
- ctx->ctx->idtIndex != I386_EXCEPTION_BREAKPOINT &&
- ctx->ctx->idtIndex != I386_EXCEPTION_ENTER_RDBG
- ) return 0;
- else return 1;
-}
-static inline int getExcNum(Exception_context *ctx)
-{
- return ctx->ctx->idtIndex;
-}
-
-extern void connect_rdbg_exception();
-
-#endif
-
-
-
diff --git a/c/src/lib/include/rdbg/i386/reg.h b/c/src/lib/include/rdbg/i386/reg.h
deleted file mode 100644
index 06fb8340e1..0000000000
--- a/c/src/lib/include/rdbg/i386/reg.h
+++ /dev/null
@@ -1,36 +0,0 @@
-/*
- * Registers Offset in frame definition
- *
- * $Id$
- */
-
-#define NBREGS 19
-
-#define SS 18
-#define UESP 17
-#define EFL 16
-#define CS 15
-#define EIP 14
-#define ERR 13
-#define TRAPNO 12
-#define EAX 11
-#define ECX 10
-#define EDX 9
-#define EBX 8
-#define ESP 7
-#define EBP 6
-#define ESI 5
-#define EDI 4
-#define DS 3
-#define ES 2
-#define FS 1
-#define GS 0
-
-typedef unsigned int regs[NBREGS];
-
-/* To be used in common code */
-typedef regs REGS;
-
-
-
-