Changeset 539 for trunk/kernel/kern/kernel_init.c
- Timestamp:
- Sep 21, 2018, 10:21:42 PM (6 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/kernel/kern/kernel_init.c
r536 r539 88 88 chdev_t txt0_chdev CONFIG_CACHE_LINE_ALIGNED; 89 89 90 // This variable defines the TXT0 lock for writing characters to MTY0 91 __attribute__((section(".kdata"))) 92 spinlock_t txt0_lock CONFIG_CACHE_LINE_ALIGNED; 93 90 94 // This variables define the kernel process0 descriptor 91 95 __attribute__((section(".kdata"))) … … 282 286 dev_tbl = info->int_dev; 283 287 288 // Initialize spinlock for writing to MTY0 289 spinlock_init(&txt0_lock); 290 284 291 // Loop on internal peripherals of cluster (0,0) to find MTY0 285 292 for ( i = 0; i < dev_nr; i++ )
Note: See TracChangeset
for help on using the changeset viewer.