osdev
osdev copied to clipboard
Malloc question
Implemented your memory management in my OS. DO I understand corrently that pmalloc allocates virtual memory? and malloc physical? If not, what does it do?
pmalloc allocates memory page aligned. should be obvious
Implemented your memory management in my OS. DO I understand corrently that pmalloc allocates virtual memory? and malloc physical? If not, what does it do?
I know this is old, but how the f*** do you blindly implement someone's memory managers and have absolutely no idea what they do? Also, no, malloc() and family should disk up virtual memory, etc.