FDOS / kernel

FreeDOS kernel - implements the core MS-DOS/PC-DOS (R) compatible operating system. It is derived from Pat Villani's DOS-C kernel and released under the GPL v2 or later. Please see http://www.freedos.org/ for more details about the FreeDOS (TM) Project.

Home Page:http://kernel.fdos.org/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DPB memory invalidation

boeckmann opened this issue · comments

The DPB structures of the block device driver created by update_dcb() are created in an area which eventually gets assigned as free space for use by MCBs. This is because the use of KernelAlloc instead of DynAlloc when the memory subsystem is not fully initialized yet.

For more explanation see #148 (comment)

Probably there are more uses of KernelAlloc in early stages for memory that has to be persistent. Kernel should ne audited for such use-cases.