9fans - fans of the OS Plan 9 from Bell Labs
 help / color / mirror / Atom feed
From: cinap_lenrek@gmx.de (cinap_lenrek at gmx.de)
Subject: [9fans] self modifying code in intel vga bios?
Date: Tue,  8 Mar 2011 10:24:48 +0100	[thread overview]
Message-ID: <80ac49ab88c41d7cef9e96285eeb4c1b@gmx.de> (raw)

Fish- has catched this on a Intel(r)915GM/910ML/915MS Graphics Controller
with realemu:

bad mem write c0c11
bad memory access
1d17b0 4a008800 00000002 00000000 0000a002 00009000 00005108 ac007bda 00007bc0 0000 0000 0000 c000 csZoPdI 61ed c6 MOV CS:[c11], $01

question to the coreboot guys:

did you ever see the bios writing in the rom area? 

i found this quote on: http://www.coreboot.org/VGA_support

"Even if your VGA BIOS uses self-modifying code you get a correct image"

i know that the rom area is usualy cached in ram but to catch mistakes
i disallow writing to the rom area...  fish will make full traces
later this day...  it could be just a screwup on my side...
just curious :)

--
cinap




             reply	other threads:[~2011-03-08  9:24 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-03-08  9:24 cinap_lenrek at gmx.de [this message]
2011-03-08  9:45 ` Lucio De Re
2011-03-08 15:03 ` ron minnich
2011-03-08 15:21   ` Paul Lalonde
2011-03-08 15:27     ` Lucio De Re
2011-03-08 15:52       ` erik quanstrom
2011-03-08 17:34         ` Lucio De Re
2011-03-08 19:53           ` Wes Kussmaul

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=80ac49ab88c41d7cef9e96285eeb4c1b@gmx.de \
    --to=cinap_lenrek@gmx.de \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).