Changeset 5f9b4d9a in mainline
- Timestamp:
- 2006-10-16T21:09:25Z (18 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- fc46884
- Parents:
- 2b017ba
- Location:
- kernel/generic
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/ipc/irq.h
r2b017ba r5f9b4d9a 38 38 /** Maximum length of IPC IRQ program */ 39 39 #define IRQ_MAX_PROG_SIZE 10 40 41 #define VIRT_INR_KLOG -242 #define VIRT_INR_KBDRESTART -343 40 44 41 typedef enum { -
kernel/generic/src/console/klog.c
r2b017ba r5f9b4d9a 41 41 #include <ipc/irq.h> 42 42 43 /* 44 * For now, we use 0 as INR. 45 * However, on some architectures 0 is the clock interrupt (e.g. amd64 and ia32). 46 * It is therefore desirable to have architecture specific definition of KLOG_VIRT_INR 47 * in the future. 48 */ 49 #define KLOG_VIRT_INR 0 50 43 51 /* Order of frame to be allocated for klog communication */ 44 52 #define KLOG_ORDER 0 … … 75 83 sysinfo_set_item_val("klog.pages", NULL, 1 << KLOG_ORDER); 76 84 sysinfo_set_item_val("klog.devno", NULL, devno); 77 sysinfo_set_item_val("klog.inr", NULL, VIRT_INR_KLOG);85 sysinfo_set_item_val("klog.inr", NULL, KLOG_VIRT_INR); 78 86 79 87 irq_initialize(&klog_irq); 80 88 klog_irq.devno = devno; 81 klog_irq.inr = VIRT_INR_KLOG;89 klog_irq.inr = KLOG_VIRT_INR; 82 90 klog_irq.claim = klog_claim; 83 91 irq_register(&klog_irq);
Note:
See TracChangeset
for help on using the changeset viewer.