boot - Hack workarounds for chromebook 'SeaBIOS' issues
authorMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Jan 2014 17:34:50 +0000 (09:34 -0800)
committerMatthew Dillon <dillon@apollo.backplane.com>
Wed, 1 Jan 2014 17:39:56 +0000 (09:39 -0800)
commit5fc9dc6d407adf96b8a1f7d4b6e7b5f638645a23
tree4080b1ef826c91a06195eda2045eb4c0e3d1977d
parent7c417b37f6ba47f2de12ee2ae90d047c179b8bfc
boot - Hack workarounds for chromebook 'SeaBIOS' issues

* The google seabios hack to boot legacy-mode only reports 16MB of extended
  memory.  For now, enforce a minimum of 64MB.

  This was preventing the loader from being able to load the kernel+modules.

* Fix a bug in biosdisk.c to force bounce buffers if the target buffer
  is beyond the segment address limit, in addition to checking for
  64KB boundary crossings.
sys/boot/pc32/libi386/biosdisk.c
sys/boot/pc32/libi386/biosmem.c