Original Post
I''m working on an operating system as a project to learn more about how a kernel and low-level code works. I''m getting ready to implement malloc/new/new[] and free/delete/delete[], etc... I''ve read some things about malloc that refer to it allocating memory aligned for any use. Can someone tell me more about proper alignment for memory on different architectures and the different restrictions they have?
I think I understand what they mean by alignment but just to be sure, when a block of memory is 4Byte/DWORD aligned that means that it''s starting address is divisible by 4 correct?
Thanks for the help guys(and girls).