From WebOS Internals
Revision as of 12:46, 19 May 2010 by IDG (talk | contribs) (Content of the Tokens area)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

The Tokens area contains a number of entries. Each entry has the following format:

Magic:      0x4e4b4f54 'TOKN'
Version:    0x00000001
Length:     0x???????? Length of the data area
Generation: 0x00000001
CRC:        0x???????? CRC of the full entry treating the 4 CRC bytes as zeroes
Name:       up to 16 bytes, zero padded name of the token
Data:       'lenght' bytes, plus zero padding up to the next 4 bytes boundary

The CRC polynomial is 0xedb88320.