public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Richardson, Brian" <brian.richardson@intel.com>
To: "edk2-devel@lists.01.org" <edk2-devel@lists.01.org>
Subject: Re: Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm
Date: Thu, 15 Mar 2018 16:44:59 +0000	[thread overview]
Message-ID: <80AC2BAA3152784F98F581129E5CF5AFA47634EE@ORSMSX114.amr.corp.intel.com> (raw)
In-Reply-To: <CABH5-ssET_zC1fF7M4uoW2RodWjgW_bBzwpQKDV64mt0yThKww@mail.gmail.com>

Toan:

Calling an INT in SEC won't work, since the interrupt tables aren't populated yet. In general you can't assume that any INT function works under UEFI.

I'm not sure why you are having problems re-flashing the platform. I assume you're using a SPI programmer of some sort, which could point to other issues (wrong parameters, damaged flash part, etc.).

Why do you need a one second pause in SEC phase?
Which Intel reference board are you using?

Thanks ... br
---
Brian Richardson, Senior Technical Marketing Engineer, Intel Software
brian.richardson@intel.com -- @intel_brian (Twitter & WeChat)
https://software.intel.com/en-us/meet-the-developers/evangelists/team/brian-richardson 


-----Original Message-----
From: edk2-devel [mailto:edk2-devel-bounces@lists.01.org] On Behalf Of Toan Le manh
Sent: Wednesday, March 14, 2018 3:52 AM
To: edk2-devel@lists.01.org
Subject: [edk2] Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm

Hello everyone,

I have an Intel Reference Board. I was trying to force BIOS to wait 1 second in SEC phase.
I inserted these assemble code (BIOS wait function) into very first of ProtectedModeEntryPoint in Flat32.asm file:

  MOV     CX, 0FH
  MOV     DX, 4240H
  MOV     AH, 86H
  INT     15H

Then, the board stopped working. Status code showed "00".
Even when I re-flashed its original BIOS, it's still not worked.

Could anyone please help me to figure out what's happen here? And how to fix it?
I  appreciate your helps.

Thanks & BRs,
Toan
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.01.org
https://lists.01.org/mailman/listinfo/edk2-devel


      reply	other threads:[~2018-03-15 16:38 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-03-14  7:51 Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm Toan Le manh
2018-03-15 16:44 ` Richardson, Brian [this message]

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-list 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=80AC2BAA3152784F98F581129E5CF5AFA47634EE@ORSMSX114.amr.corp.intel.com \
    --to=devel@edk2.groups.io \
    /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