OpenOrbis / mira-project

mira rewrite in cxx
GNU General Public License v3.0
294 stars 64 forks source link

Need printf hook to print to klog #51

Closed Cryptogenic closed 4 years ago

Cryptogenic commented 4 years ago

Samples from the toolchain and what not that printf() cannot be captured by reading kernel log. Adding the hook for this into Mira would add convenience here.

idc commented 4 years ago

https://gist.github.com/idc/aada292e9e26b4fd7ce1947510a09571

Quick & dirty version. @Al-Azif provided some other version offsets in comment.