I am using QNX on processor MPC8349. I want to detect hard reboot i.e weather the device rebooted due to power cycle(Hard reboot) or a shutdown was initiated from software(soft reboot). I tried checking Power reset status register but value read is 0. I believe QNX might be using there register for some purpose(don’t know what) and as this register is Read/Write, the value is updated as 0.
Is there is any method available in qnx to detect type of reboot.