38 lines
1.3 KiB
Modula-2
38 lines
1.3 KiB
Modula-2
#ifndef SECTION
|
|
#define SECTION(n, comment)
|
|
#endif
|
|
#ifndef HEADER
|
|
#define HEADER(comment)
|
|
#endif
|
|
|
|
HEADER("The main config file for micekeychip")
|
|
|
|
SECTION(config, "")
|
|
CFG_str(config, kcf_path, "", "Path to a KCF file for appboot config")
|
|
|
|
SECTION(pcp, "")
|
|
CFG_int(pcp, control_port, 40106, "The port to bind for control")
|
|
CFG_int(pcp, binary_port, 40107, "The port to bind for binary transfer")
|
|
CFG_bool(pcp, bind_global, false, "Should we bind to 0.0.0.0 instead of 127.0.0.1")
|
|
|
|
SECTION(crypto, "")
|
|
CFG_bool(crypto, ds_enable, false, "Process keychip.ds.compute?")
|
|
CFG_bool(crypto, ssd_enable, false, "Process keychip.ssd.proof?")
|
|
CFG_str(crypto, table, "C:\\system\\device\\SDEY_Table.dat", "Path to the *_Table.dat file")
|
|
|
|
SECTION(billing, "")
|
|
CFG_str(billing, keyid, "A69E-01A8888", "This keychip's ID")
|
|
CFG_str(billing, mainid, "", "The board ID")
|
|
CFG_int(billing, playcount, 0, "Initial playcount value")
|
|
CFG_hex(billing, playlimit, 8, 00001400, "Max playcount before lockout")
|
|
CFG_hex(billing, nearfull, 8, 00066048, "Number of plays before reporting to billing")
|
|
CFG_str(billing, pubkey, "C:\\system\\device\\billing.pub", "Path to the billing pubkey (billing.pub)")
|
|
CFG_str(billing, cacert, "C:\\system\\device\\ca.crt", "Path to the root certificate authority (ca.crt)")
|
|
|
|
#undef CFG_str
|
|
#undef CFG_int
|
|
#undef CFG_bool
|
|
#undef CFG_hex
|
|
#undef SECTION
|
|
#undef HEADER
|