view target-utils/pirexplore/ffsparam.c @ 921:74d284add54d

fc-fsio: guard against bogus readdir results from the target If the FFS being operated on contains SE K2x0 extended filenames, readdir will return strings that are bad for printing. We need to guard against this possibility, and also against possible other bogosity that could be sent by other alien firmwares.
author Mychaela Falconia <falcon@freecalypso.org>
date Sat, 31 Dec 2022 22:55:23 +0000
parents 87cb03b35f77
children
line wrap: on
line source

/*
 * This module is linked into pirexplore for the purpose of telling the
 * somewhat generic libtiffs exactly where the FFS is located on this
 * device and how it is structured.
 */

#include "types.h"

const u32 tiffs_base_addr = 0x02000000;
const u32 tiffs_sector_size = 0x40000;
const int tiffs_nsectors = 18;