Changeset bfd7aac in mainline for kernel/generic/include
- Timestamp:
- 2010-02-17T19:19:08Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 1e2e0c1e
- Parents:
- 01a9ef5 (diff), b8da2a3 (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. - Location:
- kernel/generic/include
- Files:
-
- 5 edited
-
console/console.h (modified) (1 diff)
-
errno.h (modified) (1 diff)
-
panic.h (modified) (4 diffs)
-
smp/ipi.h (modified) (2 diffs)
-
time/clock.h (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/include/console/console.h
r01a9ef5 rbfd7aac 41 41 extern indev_t *stdin; 42 42 extern outdev_t *stdout; 43 extern bool silent;44 43 45 44 extern indev_t *stdin_wire(void); -
kernel/generic/include/errno.h
r01a9ef5 rbfd7aac 57 57 #define EADDRNOTAVAIL -12 /* Address not available. */ 58 58 #define ETIMEOUT -13 /* Timeout expired */ 59 //MH 60 #ifndef EINVAL 59 61 #define EINVAL -14 /* Invalid value */ 62 #endif 63 #ifndef EBUSY 60 64 #define EBUSY -15 /* Resource is busy */ 65 #endif 61 66 #define EOVERFLOW -16 /* The result does not fit its size. */ 62 67 #define EINTR -17 /* Operation was interrupted. */ -
kernel/generic/include/panic.h
r01a9ef5 rbfd7aac 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 36 36 #define KERN_PANIC_H_ 37 37 38 #include <typedefs.h> 38 39 #include <stacktrace.h> 39 40 #include <print.h> … … 42 43 # define panic(format, ...) \ 43 44 do { \ 45 silent = false; \ 44 46 printf("Kernel panic in %s() at %s:%u.\n", \ 45 47 __func__, __FILE__, __LINE__); \ … … 50 52 #else 51 53 # define panic(format, ...) \ 52 panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__); 54 do { \ 55 silent = false; \ 56 panic_printf("Kernel panic: " format "\n", ##__VA_ARGS__); \ 57 } while (0) 53 58 #endif 59 60 extern bool silent; 54 61 55 62 extern void panic_printf(char *fmt, ...) __attribute__((noreturn)); -
kernel/generic/include/smp/ipi.h
r01a9ef5 rbfd7aac 27 27 */ 28 28 29 /** @addtogroup generic 29 /** @addtogroup generic 30 30 * @{ 31 31 */ … … 37 37 38 38 #ifdef CONFIG_SMP 39 extern void ipi_broadcast(int ipi); 40 extern void ipi_broadcast_arch(int ipi); 39 40 extern void ipi_broadcast(int); 41 extern void ipi_broadcast_arch(int); 42 41 43 #else 42 #define ipi_broadcast(x) ; 44 45 #define ipi_broadcast(ipi) 46 43 47 #endif /* CONFIG_SMP */ 44 48 -
kernel/generic/include/time/clock.h
r01a9ef5 rbfd7aac 38 38 #include <arch/types.h> 39 39 40 #define HZ 100 040 #define HZ 100 41 41 42 42 /** Uptime structure */
Note:
See TracChangeset
for help on using the changeset viewer.
