aboutsummaryrefslogtreecommitdiff
path: root/sys/i386/isa/apic_ipl.s
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>1999-08-25 23:42:02 +0000
committerPeter Wemm <peter@FreeBSD.org>1999-08-25 23:42:02 +0000
commit4a54450a9d7f01fab7a51f03b78241746f2c9037 (patch)
tree5fe482575067bf1b41c0c33ab0d0ddf78e70dc7d /sys/i386/isa/apic_ipl.s
parent776a8f98eeb5a8f3c9ac23aaae4100f8a6751619 (diff)
downloadsrc-4a54450a9d7f01fab7a51f03b78241746f2c9037.tar.gz
src-4a54450a9d7f01fab7a51f03b78241746f2c9037.zip
It would help if things that MUST be 32 bit aligned were really 32 bit
aligned. If I recall correctly, this is to ensure apic_imen can be accessed in a single bus cycle. Also, use TEXT_ALIGN rather than a .align 2 (which means 2 byte align on ELF and 4 byte align on a.out)
Notes
Notes: svn path=/head/; revision=50378
Diffstat (limited to 'sys/i386/isa/apic_ipl.s')
-rw-r--r--sys/i386/isa/apic_ipl.s6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/i386/isa/apic_ipl.s b/sys/i386/isa/apic_ipl.s
index 4ba7df11df80..57ddeca3009f 100644
--- a/sys/i386/isa/apic_ipl.s
+++ b/sys/i386/isa/apic_ipl.s
@@ -22,7 +22,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id: apic_ipl.s,v 1.24 1999/07/03 06:33:47 alc Exp $
+ * $Id: apic_ipl.s,v 1.25 1999/07/10 15:27:58 bde Exp $
*/
@@ -65,7 +65,7 @@ _vec:
* MAYBE_UNMASK_IRQ
* imen_dump()
*/
- .align 2 /* MUST be 32bit aligned */
+ .p2align 2 /* MUST be 32bit aligned */
.globl _apic_imen
_apic_imen:
.long HWI_MASK
@@ -308,7 +308,7 @@ ENTRY(INTRDIS)
#define _APIC 12(%esp)
#define _MASK 16(%esp)
- .align 2
+ ALIGN_TEXT
write_ioapic_mask:
pushl %ebx /* scratch */
pushl %esi /* scratch */