Project

General

Profile

Actions

Submit #2864

closed

boot0 refactoring

Added by Anonymous over 8 years ago. Updated over 8 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
-
Target version:
Start date:
12/10/2015
Due date:
% Done:

0%

Estimated time:

Description

Hello,

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.


Files

Actions

Also available in: Atom PDF