Back to home page

DOS ain't dead

Forum index page

Log in | Register

Back to the forum
Board view  Mix view

new DJDEV 2.05 build from CVS with fixed valloc() (Announce)

posted by RayeR(R) Homepage, CZ, 11.01.2018, 22:26

> Just for curiosity: what is the difference between malloc and valloc?

valloc ensures the allocated block is page-aligned. It's needed e.g. for some buffers where HW has such limitation that buffer must start on aligned address. Flashrom/libpci use valloc. Valloc was OK in DJDEV 2.04 and then was broken in 2.05, later fixed in CVS-only.

---
DOS gives me freedom to unlimited HW access.

 

Complete thread:

Back to the forum
Board view  Mix view
15317 Postings in 1383 Threads, 254 registered users, 14 users online (0 registered, 14 guests)
DOS ain't dead | Admin contact
RSS Feed
powered by my little forum