Line 11:
Line 11:
=== Ioctls ===
=== Ioctls ===
−
Ioctl 1: get_flash_stats. Input: 0 bytes. Output: 0x1c bytes.
+
{{ Table }}
−
+
{{ Table/Header | Ioctl | Inputs | Outputs | Function }}
−
Ioctl 4: check_bad_block. No input or output. If return value is -13, indicates that the block at the current fpos is bad.
+
{{ Table/Row | 1 | 0 | 0x1c bytes | get_flash_stats }}
−
+
{{ Table/Row | 2 | 0 | 0x198 bytes | ? }}
+
{{ Table/Row | 3 | 4 bytes | 0 | Erase block? }}
+
{{ Table/Row | 4 | 0 | 0 | check_bad_block: if return value is -13, indicates that the block at the current fpos is bad }}
+
|}
=== Return Codes ===
=== Return Codes ===
(These names were taken from a NAND flash diagnostic program scraped from flash)
(These names were taken from a NAND flash diagnostic program scraped from flash)