Age | Commit message (Collapse) | Author |
|
Previously it was possible for fragmentation to occur and as a result
certain allocations would have a linear virtual address space but not a
linear physical address space. This is bad since a lot of calls to
kmalloc_align rely upon both being linear, it has now been changed such
that all allocations done by kmalloc_align now guarantee this mapping
holds for both virtual and physical addresses.
It was due to oversight and sheer luck that this had been working for so
long.
|
|
Having min/max be functions was a stupid decision in the first place
|
|
|
|
|
|
Now it avoids waiting for completion if possible and can instead batch
commands.
|
|
|
|
|
|
Instead of having to store state in variables functions are called to
check the object directly.
|
|
|
|
|
|
|
|
This also changes the ext2 filesystem so it will now write to the file
it mounted. Currently the file mounted is /dev/sda which points to a
SATA drive.
|
|
It will now also create a corresponding /dev/sd* device for each
detected SATA drive. The filesystem still writes using the ATA driver.
This should be fixed soon.
|
|
This caused the tables to be cloned instead of having the pointer copied
on the new page directory creations.
This is just a solution to the symptom of having a bad design for
memory managment. Maybe I will figure out something better.
|
|
Currently certain parts of the code are taken from osdev wiki as there
seems to be very little documentation that I can find on how H2D FIS is
structured. Those parts, especially some of the uglier parts of the
example code will be rewritten/changed.
|