/* * OLPC board IDs contain the major build number within the mask 0x0ff0, * and the minor build number within 0x000f. Pre-builds have a minor * number less than 8, and normal builds start at 8. For example, 0x0B10 * is a PreB1, and 0x0C18 is a C1.
*/
/* * The DCON is OLPC's Display Controller. It has a number of unique * features that we might want to take advantage of..
*/ staticinlineint olpc_has_dcon(void)
{ return (olpc_platform_info.flags & OLPC_F_DCON) ? 1 : 0;
}
/* * The "Mass Production" version of OLPC's XO is identified as being model * C2. During the prototype phase, the following models (in chronological * order) were created: A1, B1, B2, B3, B4, C1. The A1 through B2 models * were based on Geode GX CPUs, and models after that were based upon * Geode LX CPUs. There were also some hand-assembled models floating * around, referred to as PreB1, PreB2, etc.
*/ staticinlineint olpc_board_at_least(uint32_t rev)
{ return olpc_platform_info.boardrev >= rev;
}
Die Informationen auf dieser Webseite wurden
nach bestem Wissen sorgfältig zusammengestellt. Es wird jedoch weder Vollständigkeit, noch Richtigkeit,
noch Qualität der bereit gestellten Informationen zugesichert.
Bemerkung:
Die farbliche Syntaxdarstellung und die Messung sind noch experimentell.