feat: reformatted driver code and linkage. Some optimizations

This commit is contained in:
2021-03-06 19:57:47 +01:00
parent 645e18018d
commit 01efc5e98a
13 changed files with 110 additions and 130 deletions

View File

@@ -29,10 +29,15 @@ SECTIONS
/* Read-write data (initialized) */
.data BLOCK(4K) : ALIGN(4K)
{
__start_pci_drivers = .;
*(pci_drivers)
__stop_pci_drivers = .;
*(.data)
. = ALIGN(16);
__start_pci_driver = .;
*(pci_driver)
__stop_pci_driver = .;
. = ALIGN(16);
__start_block_dev_driver = .;
*(block_dev_driver)
__stop_block_dev_driver = .;
}
/* Read-write data (uninitialized) and stack */