mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-13 21:42:53 +08:00
17 lines
580 B
C
17 lines
580 B
C
State at case 1a
|
|
|
|
B = Free block; A = Address of free block; S = Free size
|
|
Allocation available bytes: 88 bytes
|
|
|
|
B 0: A: 0x00CBB160, S: 0, next B: 0x00CBB540; Start block
|
|
B 1: A: 0x00CBB540, S: 88, next B: 0x00CBB598
|
|
B 2: A: 0x00CBB598, S: 0, next B: 0x00000000; End of region
|
|
|
|
State at case 1b
|
|
|
|
B = Free block; A = Address of free block; S = Free size
|
|
Allocation available bytes: 80 bytes
|
|
|
|
B 0: A: 0x00CBB160, S: 0, next B: 0x00CBB548; Start block
|
|
B 1: A: 0x00CBB548, S: 80, next B: 0x00CBB598
|
|
B 2: A: 0x00CBB598, S: 0, next B: 0x00000000; End of region |