Changeset c0855a0 in mainline
- Timestamp:
- 2009-02-24T20:14:38Z (16 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 2a1410d
- Parents:
- 691eb52
- Location:
- kernel/generic/src
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
kernel/generic/src/console/console.c
r691eb52 rc0855a0 52 52 #define KLOG_LATENCY 8 53 53 54 /** <Kernel log cyclic buffer */54 /** Kernel log cyclic buffer */ 55 55 static char klog[KLOG_SIZE] __attribute__ ((aligned (PAGE_SIZE))); 56 56 57 /** <Kernel log initialized */57 /** Kernel log initialized */ 58 58 static bool klog_inited = false; 59 /** <First kernel log characters */59 /** First kernel log characters */ 60 60 static index_t klog_start = 0; 61 /** <Number of valid kernel log characters */61 /** Number of valid kernel log characters */ 62 62 static size_t klog_len = 0; 63 /** <Number of stored (not printed) kernel log characters */63 /** Number of stored (not printed) kernel log characters */ 64 64 static size_t klog_stored = 0; 65 /** <Number of stored kernel log characters for uspace */65 /** Number of stored kernel log characters for uspace */ 66 66 static size_t klog_uspace = 0; 67 67 68 /** <Silence output */68 /** Silence output */ 69 69 bool silent = false; 70 70 71 /** <Kernel log spinlock */71 /** Kernel log spinlock */ 72 72 SPINLOCK_INITIALIZE(klog_lock); 73 73 -
kernel/generic/src/main/main.c
r691eb52 rc0855a0 106 106 */ 107 107 108 /** <Virtual address of where the kernel is loaded. */108 /** Virtual address of where the kernel is loaded. */ 109 109 uintptr_t hardcoded_load_address = 0; 110 /** <Size of the kernel code in bytes. */110 /** Size of the kernel code in bytes. */ 111 111 size_t hardcoded_ktext_size = 0; 112 /** <Size of the kernel data in bytes. */112 /** Size of the kernel data in bytes. */ 113 113 size_t hardcoded_kdata_size = 0; 114 /** <Lowest safe stack virtual address. */114 /** Lowest safe stack virtual address. */ 115 115 uintptr_t stack_safe = 0; 116 116
Note:
See TracChangeset
for help on using the changeset viewer.