Changeset 3e828ea in mainline for kernel/arch/ia32/include
- Timestamp:
- 2019-09-23T12:49:29Z (7 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 9be2358
- Parents:
- 9259d20 (diff), 1a4ec93f (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)links above to see all the changes relative to each parent. - git-author:
- Jiri Svoboda <jiri@…> (2019-09-22 12:49:07)
- git-committer:
- Jiri Svoboda <jiri@…> (2019-09-23 12:49:29)
- Location:
- kernel/arch/ia32/include/arch
- Files:
-
- 4 edited
-
interrupt.h (modified) (2 diffs)
-
mm/as.h (modified) (1 diff)
-
mm/page.h (modified) (2 diffs)
-
smp/apic.h (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
kernel/arch/ia32/include/arch/interrupt.h
r9259d20 r3e828ea 63 63 /* NS16550 at COM1 */ 64 64 #define IRQ_NS16550 4 65 #define IRQ_PIC _SPUR765 #define IRQ_PIC0_SPUR 7 66 66 #define IRQ_MOUSE 12 67 #define IRQ_PIC1_SPUR 15 67 68 68 69 /* This one must have four least significant bits set to ones */ … … 81 82 #define VECTOR_XM (IVT_EXCBASE + EXC_XM) 82 83 #define VECTOR_CLK (IVT_IRQBASE + IRQ_CLK) 83 #define VECTOR_PIC_SPUR (IVT_IRQBASE + IRQ_PIC_SPUR) 84 #define VECTOR_PIC0_SPUR (IVT_IRQBASE + IRQ_PIC0_SPUR) 85 #define VECTOR_PIC1_SPUR (IVT_IRQBASE + IRQ_PIC1_SPUR) 84 86 #define VECTOR_SYSCALL IVT_FREEBASE 85 87 #define VECTOR_TLB_SHOOTDOWN_IPI (IVT_FREEBASE + 1) 86 88 #define VECTOR_DEBUG_IPI (IVT_FREEBASE + 2) 87 89 88 extern void (*disable_irqs_function)(uint16_t);89 extern void (*enable_irqs_function)(uint16_t);90 extern void (*eoi_function)(void);91 extern const char *irqs_info;92 93 90 extern void interrupt_init(void); 94 extern void trap_virtual_enable_irqs(uint16_t);95 extern void trap_virtual_disable_irqs(uint16_t);96 91 97 92 #endif -
kernel/arch/ia32/include/arch/mm/as.h
r9259d20 r3e828ea 37 37 38 38 #define KERNEL_ADDRESS_SPACE_SHADOWED_ARCH 0 39 #define KERNEL_SEPARATE_PTL0_ARCH 0 39 40 40 41 #define KERNEL_ADDRESS_SPACE_START_ARCH UINT32_C(0x80000000) -
kernel/arch/ia32/include/arch/mm/page.h
r9259d20 r3e828ea 38 38 #include <arch/mm/frame.h> 39 39 #include <stdbool.h> 40 #include <trace.h>41 40 42 41 #define PAGE_WIDTH FRAME_WIDTH … … 147 146 #include <arch/interrupt.h> 148 147 #include <stddef.h> 148 #include <trace.h> 149 149 150 150 /* Page fault error codes. */ -
kernel/arch/ia32/include/arch/smp/apic.h
r9259d20 r3e828ea 43 43 #include <cpu.h> 44 44 #include <stdint.h> 45 #include <genarch/pic/pic_ops.h> 45 46 46 47 #define FIXED (0 << 0) … … 347 348 } io_apic_id_t; 348 349 350 extern pic_ops_t apic_pic_ops; 351 349 352 extern volatile uint32_t *l_apic; 350 353 extern volatile uint32_t *io_apic; … … 356 359 357 360 extern void l_apic_init(void); 358 extern void l_apic_eoi( void);361 extern void l_apic_eoi(unsigned int); 359 362 extern int l_apic_send_custom_ipi(uint8_t, uint8_t); 360 363 extern int l_apic_broadcast_custom_ipi(uint8_t);
Note:
See TracChangeset
for help on using the changeset viewer.
