mirror of
https://salsa.debian.org/gnuk-team/gnuk/gnuk.git
synced 2024-09-20 02:40:08 +00:00
fix comments
This commit is contained in:
parent
c04e5d816c
commit
b146a8aa6d
24
src/flash.c
24
src/flash.c
@ -24,9 +24,9 @@
|
||||
/*
|
||||
* We assume single DO size is less than 256.
|
||||
*
|
||||
* NOTE: When we will support "Card holder certificate" (which size is
|
||||
* larger than 256), it is not put into data pool, but is
|
||||
* implemented by its own flash page(s).
|
||||
* NOTE: "Card holder certificate" (which size is larger than 256) is
|
||||
* not put into data pool, but is implemented by its own flash
|
||||
* page(s).
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
@ -143,13 +143,17 @@ flash_erase_page (uint32_t addr)
|
||||
* .dtors
|
||||
* _etext
|
||||
* .data
|
||||
* ...
|
||||
* _etext + (_edata - _data)
|
||||
*
|
||||
* flash-page-size align padding
|
||||
*
|
||||
* flash-page-size data pool * 2
|
||||
*
|
||||
* _bss_start
|
||||
* .bss
|
||||
* _end
|
||||
* <alignment to page>
|
||||
* random_bits_start
|
||||
* <one page>
|
||||
* ch_certificate_startp
|
||||
* <2048 bytes>
|
||||
* _data_pool
|
||||
* <two pages>
|
||||
* _keystore_pool
|
||||
* 1.5-KiB Key store (512-byte (p, q and N) key-store * 3)
|
||||
*/
|
||||
#define FLASH_DATA_POOL_HEADER_SIZE 2
|
||||
|
Loading…
Reference in New Issue
Block a user