summaryrefslogtreecommitdiff
path: root/i386/i386/pic.h
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/pic.h
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/pic.h')
-rw-r--r--i386/i386/pic.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/i386/i386/pic.h b/i386/i386/pic.h
index faf123a..d455f7c 100644
--- a/i386/i386/pic.h
+++ b/i386/i386/pic.h
@@ -59,12 +59,12 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
** The following are definitions used to locate the PICs in the system
*/
-#if defined(AT386) || defined(PS2)
+#if defined(AT386)
#define ADDR_PIC_BASE 0x20
#define OFF_ICW 0x00
#define OFF_OCW 0x01
#define SIZE_PIC 0x80
-#endif /* defined(AT386) || defined(PS2) */
+#endif /* defined(AT386) */
#ifdef iPSC386
#define ADDR_PIC_BASE 0xC0
@@ -102,10 +102,10 @@ WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
** ICW2
*/
-#if defined(AT386) || defined(PS2)
+#if defined(AT386)
#define PICM_VECTBASE 0x40
#define PICS_VECTBASE PICM_VECTBASE + 0x08
-#endif /* defined(AT386) || defined(PS2) */
+#endif /* defined(AT386) */
#ifdef iPSC386
#define PICM_VECTBASE 0x40