projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d788bad
)
x86, io-apic: define names for redirection table entry fields
author
Cyrill Gorcunov
<
[email protected]
>
Sat, 7 Jun 2008 15:53:56 +0000
(19:53 +0400)
committer
Ingo Molnar
<
[email protected]
>
Tue, 8 Jul 2008 07:13:21 +0000
(09:13 +0200)
Each I/O APIC redirection table entry has a number of fields.
Define names for them to eliminate reference by hard coded
numbers.
Signed-off-by: Cyrill Gorcunov <
[email protected]
>
Signed-off-by: Ingo Molnar <
[email protected]
>
include/asm-x86/io_apic.h
patch
|
blob
|
history
diff --git
a/include/asm-x86/io_apic.h
b/include/asm-x86/io_apic.h
index a6732566ad054d6d2b8218a45e12ad1ec0440e04..dc0f55f2b034d93fe7cb804bfedc28c650c6ead4 100644
(file)
--- a/
include/asm-x86/io_apic.h
+++ b/
include/asm-x86/io_apic.h
@@
-11,6
+11,15
@@
* Copyright (C) 1997, 1998, 1999, 2000 Ingo Molnar
*/
+/* I/O Unit Redirection Table */
+#define IO_APIC_REDIR_VECTOR_MASK 0x000FF
+#define IO_APIC_REDIR_DEST_LOGICAL 0x00800
+#define IO_APIC_REDIR_DEST_PHYSICAL 0x00000
+#define IO_APIC_REDIR_SEND_PENDING (1 << 12)
+#define IO_APIC_REDIR_REMOTE_IRR (1 << 14)
+#define IO_APIC_REDIR_LEVEL_TRIGGER (1 << 15)
+#define IO_APIC_REDIR_MASKED (1 << 16)
+
/*
* The structure of the IO-APIC:
*/