Coder Social home page Coder Social logo

stack_heap's Introduction

stack_heap

this project is yet another heap manager. what made me to write it?

  1. Some DSPs doesn't have malloc and free.
  2. Many DSPs need blocks of memory aligned by multiple of 4, 8, 16 etc (for example, for DMA purposes). Imagine, that standard malloc returned non-aligned block (for example, starting from address 0x87654321) and you need aligned by 4 block. You can just occupy block with bigger length and ceil 0x87654321 to 0x87654324. But when you call free, you will have to provide original address (0x87654321) so you'll have to store it somewhere. Stack_heap returns blocks with required alignment.
  3. Many DSPs has more than one memory, you may want to have more than one heap. stack_heap allows to create any amount of heaps, providing separate descriptor for each heap. In some cases it may be useful to be able to create a heap inside of block of another heap. stack_heap addresses this request as well.

Documentation is written in Russian. What may be improved in this heap manager:

  • adding option to construct a heap from more than one separate memory blocks.
  • refactroring.

in case of any questions please write to [email protected]

stack_heap's People

Contributors

tminnigaliev avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.