h6. [[Hardware Abstraction Layer]] h6(. [[HAL entry points from RISC OS]] h6((. » HAL_Reset h2. HAL_Reset h5. (HAL entry #106) <pre> void HAL_Reset(int type,void *l1pt) </pre> |_<. Entry | | |/4^. type |Reset type: | |0 = Hard reset and turn the power off (i.e. just turn the power off) | |1 = Hard reset and leave the power on | |>1 = Reserved | |^. l1pt |Pointer to level 1 page table | |_<. Exit | | |- |This call does not return | h4. Use This resets the board depending on the value in _type_. Asking [[HAL_PlatformInfo|HAL_PlatformInfo]] will tell you if the hardware allows the power to be turned off by software, if it doesn't then behaviour is per _type_ = 1. A pointer to the level 1 page table is provided in order to allow platforms which lack software-accessible hardware reset (e.g. IOMD) to implement their own soft reset mechanism. E.g. by disabling the MMU and restarting the HAL/ROM image. User software must always use SWI [[OS_Reset]] instead of calling this entry directly. h6. Information source: Kernel.Docs.HAL.HAL_API in CVS