发明名称 METHOD AND APPARATUS FOR ALLOCATING MEMORY IN A HARDWARE BUDDY SYSTEM
摘要 A method and a device for allocating a memory in a hardware buddy system are provided to use the memory efficiently without waste by allocating the memory as much as a requested amount in a hardware mode. An allocation/de-allocation controller(313) assigns memory blocks in a 2^n unit bigger than and closest to a size of a requested memory(311), and selectively releases the biggest memory size while smaller than 2^n according to each bit field of a binary value of the requested memory size. The allocation/de-allocation controller sets the finale memory blocks by shifting each bit field of a complementary value of the requested memory size to a left side, and releasing the memory blocks of the corresponding unit from the assigned memory blocks depending on the bit value of the shifted bit field, releasing the memory blocks for each bit field selectively, and releasing one byte from the memory blocks when the shifted bit field is not the LSB(Least Significant Bit).
申请公布号 KR20080062882(A) 申请公布日期 2008.07.03
申请号 KR20060139051 申请日期 2006.12.29
申请人 SAMSUNG ELECTRONICS CO., LTD. 发明人 KO, KWANG WON
分类号 G06F12/06;G06F12/00 主分类号 G06F12/06
代理机构 代理人
主权项
地址