mirror of
https://github.com/MaJerle/lwmem.git
synced 2025-01-26 06:02:54 +08:00
17 lines
580 B
C
17 lines
580 B
C
State at case 2a
|
|
|
|
B = Free block; A = Address of free block; S = Free size
|
|
Allocation available bytes: 88 bytes
|
|
|
|
B 0: A: 0x0135B160, S: 0, next B: 0x0135B520; Start block
|
|
B 1: A: 0x0135B520, S: 88, next B: 0x0135B598
|
|
B 2: A: 0x0135B598, S: 0, next B: 0x00000000; End of region
|
|
|
|
State at case 2b
|
|
|
|
B = Free block; A = Address of free block; S = Free size
|
|
Allocation available bytes: 80 bytes
|
|
|
|
B 0: A: 0x0135B160, S: 0, next B: 0x0135B548; Start block
|
|
B 1: A: 0x0135B548, S: 80, next B: 0x0135B598
|
|
B 2: A: 0x0135B598, S: 0, next B: 0x00000000; End of region |