[DragonFlyBSD - Submit #2864] boot0 refactoring

bugtracker-admin at leaf.dragonflybsd.org bugtracker-admin at leaf.dragonflybsd.org
Sat Dec 12 22:31:55 PST 2015

Issue #2864 has been updated by 0xAX.

dillon wrote:
> Looks pretty good.  If you are done working on it I will commit it.
> -Matt

Hello @dillon,

Yes, I've finished with it.

Thank you.

Submit #2864: boot0 refactoring

* Author: 0xAX
* Status: Feedback
* Priority: Normal
* Assignee: dillon
* Category: 
* Target version: Unverifiable

this patch provides little refactoring for the sys/boot/pc32/boot0 to improve
readability and comprehensibility of assembly code.

The main changes are:

Two new symbols added: _SECTOR_FIELD_OFF which provides offset for the 'sector'
field in CHS and _DATA_OFF which provides offset for the boot0 data from the
partition table.

Some comments are improved

The patch was tested as in virtual machine as in real hardware (laptop ASUS M50).

Thank you.

0001-some-refactoring-for-boot0.patch (4.18 KB)

You have received this notification because you have either subscribed to it, or are involved in it.
To change your notification preferences, please click here: http://bugs.dragonflybsd.org/my/account

More information about the Submit mailing list