libk  Diff

Differences From Artifact [2c9c964882]:

To Artifact [175e42b805]:


    26     26   	if (alloc.cond != kmcond_ok) return kbad_mem;
    27     27   	
    28     28   	void* region = alloc.raw;
    29     29   	kmzero(region,2048);
    30     30   
    31     31   	if (kmheapf(region) >= kmcond_fail) return kbad_mem;
    32     32   
           33  +	void* top = kmlini();
           34  +	kmres rst = kmlina(1230);
           35  +	if(rst.cond != kmcond_ok) return kbad_mem;
           36  +
           37  +	kmres rst2 = kmlina(789);
           38  +	if(rst2.cond != kmcond_ok) return kbad_mem;
           39  +
    33     40   	return kbad_ok;
    34     41   }