mirror of
https://github.com/freebsd/freebsd-src
synced 2024-10-02 06:35:36 +00:00
Change an assemble-time divide into a shift. Under binutils-2.8 gas in elf
mode, the slash is a comment leader, while under non-elf it is a divide symbol (what a concept! :-). Theoretically, #APP/#NO_APP can change this but that doesn't seem to mesh too well with macros and line continuation.
This commit is contained in:
parent
929ea59a92
commit
421f9ee1ef
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=29219
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* from: vector.s, 386BSD 0.1 unknown origin
|
||||
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
|
||||
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -16,7 +16,7 @@
|
|||
#define ICU_EOI 0x20 /* XXX - define elsewhere */
|
||||
|
||||
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
|
||||
|
||||
#ifdef AUTO_EOI_1
|
||||
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* from: vector.s, 386BSD 0.1 unknown origin
|
||||
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
|
||||
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -16,7 +16,7 @@
|
|||
#define ICU_EOI 0x20 /* XXX - define elsewhere */
|
||||
|
||||
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
|
||||
|
||||
#ifdef AUTO_EOI_1
|
||||
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* from: vector.s, 386BSD 0.1 unknown origin
|
||||
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
|
||||
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -16,7 +16,7 @@
|
|||
#define ICU_EOI 0x20 /* XXX - define elsewhere */
|
||||
|
||||
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
|
||||
|
||||
#ifdef AUTO_EOI_1
|
||||
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* from: vector.s, 386BSD 0.1 unknown origin
|
||||
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
|
||||
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -16,7 +16,7 @@
|
|||
#define ICU_EOI 0x20 /* XXX - define elsewhere */
|
||||
|
||||
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
|
||||
|
||||
#ifdef AUTO_EOI_1
|
||||
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
/*
|
||||
* from: vector.s, 386BSD 0.1 unknown origin
|
||||
* $Id: icu_vector.s,v 1.2 1997/05/31 08:59:51 peter Exp $
|
||||
* $Id: icu_vector.s,v 1.3 1997/07/24 03:24:57 fsmp Exp $
|
||||
*/
|
||||
|
||||
/*
|
||||
|
@ -16,7 +16,7 @@
|
|||
#define ICU_EOI 0x20 /* XXX - define elsewhere */
|
||||
|
||||
#define IRQ_BIT(irq_num) (1 << ((irq_num) % 8))
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) / 8)
|
||||
#define IRQ_BYTE(irq_num) ((irq_num) >> 3)
|
||||
|
||||
#ifdef AUTO_EOI_1
|
||||
#define ENABLE_ICU1 /* use auto-EOI to reduce i/o */
|
||||
|
|
Loading…
Reference in a new issue