kernel: proper type for static shared variables. #75

Merged
sb10q merged 1 commits from pca006132/artiq-zynq:safe into master 2020-07-24 18:00:09 +08:00

1 Commits

Author SHA1 Message Date
pca006132 0ce45b145e kernel: proper type for static shared variables.
* Changed the KERNEL_CHANNEL_* to Mutex<T> with proper type, remove the
  need for unsafe.
* Exposed a const pointer to KernelImage, with UnsafeCell holding
  the library field for unbind with interior mutability.
2020-07-24 12:24:01 +08:00