summaryrefslogtreecommitdiff
path: root/i386/i386/gdt.c
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2006-11-04 23:32:21 +0000
committerThomas Schwinge <tschwinge@gnu.org>2009-06-18 00:26:49 +0200
commit59109a24209263600cee53978850b7f5432d5dc7 (patch)
tree49492eb4264db8ea7b763885ee0ed497aaf6e44c /i386/i386/gdt.c
parent600380d987bc1f30d592cb4311172fcd910f8e18 (diff)
2006-11-05 Samuel Thibault <samuel.thibault@ens-lyon.org>
Drop PS2 architecture support. * i386/i386/fpu.c (fpintr): Remove PS2 from #if. * i386/i386/gdt.c (abios_int_return, abios_th_return, intstack): Remove extern declaration. * i386/i386/gdt.h (ABIOS_INT_RET, ABIOS_TH_RET, ABIOS_INT_SS, ABIOS_TH_SS, ABIOS_FIRST_AVAIL_SEL): Remove macros. (GDTSZ): Remove PS2 case. * i386/i386/hardclock.c: Don't include `i386/pic.h' and `i386/pio.h'. (hardclock): Remove PS2 prototype and code. * i386/i386/locore.S (RET_OFFSET): Remove PS2 stack layout. * i386/i386/pic.c (picinit): Remove #ifdef PS2. * i386/i386/pic.h: Remove PS2 from #if. * i386/i386/pit.c (clock_int_handler): Remove extern declaration. (clock_request_block, clock_flags, cqbuf): Remove variables. (clkstart): Remove call to abios_clock_start function. (abios_clock_start, ackrtclock): Remove function. * i386/i386/pit.h: Remove PS2 from #if.
Diffstat (limited to 'i386/i386/gdt.c')
-rw-r--r--i386/i386/gdt.c6
1 files changed, 0 insertions, 6 deletions
diff --git a/i386/i386/gdt.c b/i386/i386/gdt.c
index 56c1168..9438ee1 100644
--- a/i386/i386/gdt.c
+++ b/i386/i386/gdt.c
@@ -36,12 +36,6 @@
#include "seg.h"
#include "gdt.h"
-#if PS2
-extern unsigned long abios_int_return;
-extern unsigned long abios_th_return;
-extern char intstack[];
-#endif /* PS2 */
-
struct real_descriptor gdt[GDTSZ];
void