Changeset a894219 in mainline


Ignore:
Timestamp:
2024-06-25T17:15:54Z (6 days ago)
Author:
Mohammed Q. Hussain <maastaar@…>
Parents:
49aaa0e
Message:

Remove the necessity of initrd to be in the last of grub's modules list

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/generic/src/main/kinit.c

    r49aaa0e ra894219  
    296296                        }
    297297
    298                 } else if (i == init.cnt - 1) {
    299                         /*
    300                          * Assume the last task is the RAM disk.
    301                          */
     298                } else if (str_cmp(name, "initrd.img") == 0) {
    302299                        init_rd((void *) init.tasks[i].paddr, init.tasks[i].size);
    303300                } else {
Note: See TracChangeset for help on using the changeset viewer.