Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[kernel] Change bioshd minor numbering scheme to conserve kernel data size #1710

Merged
merged 1 commit into from
Sep 11, 2023

Conversation

ghaerr
Copy link
Owner

@ghaerr ghaerr commented Sep 11, 2023

The BIOS disk driver allowed for 32 sub-disks (partitions) on each drive, this changes that to 8. This saves 1152 bytes in the kernel data segment, previously used for absolutely nothing!! We now probably have enough free data space in the kernel data segment to consider moving to dynamic task structure allocation, which could allow for more processes to run on ELKS (current limit is 16).

The net effect is that the normal boot drive (/dev/fd0) device number is changed from 0380 to 0320 on boot. /dev/fd1 is now 0328. /dev/hda is still 0300, but numbers for hard drives B,C and D changed. This PR is possible given the large number of other changes made to the BIOS driver recently.

None of this should have any effect on /bootopts, configuration options or ELKS operation.

@ghaerr ghaerr merged commit 18d1379 into master Sep 11, 2023
@ghaerr ghaerr deleted the bioshd4 branch September 11, 2023 20:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant