« Previous | Next » 

Revision d9346e81

IDd9346e81de83a99ac20d94d6598ae927895cb9ef

Added by Markus Armbruster about 12 years ago

pc: Factor common code out of pc_boot_set() and cmos_init()

Code duplicated in commit 0ecdffbb. The two versions are similar, but
not identical:

  • cmos_init() reports errors to stderr, pc_boot_set() via
    qemu_error(). The latter is fine for both, so pick that for the
    common code.
  • cmos_init() obeys fd_bootchk, pc_boot_set() ignores it. Make it a
    parameter of the common code.

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences