public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm
@ 2018-03-14  7:51 Toan Le manh
  2018-03-15 16:44 ` Richardson, Brian
  0 siblings, 1 reply; 2+ messages in thread
From: Toan Le manh @ 2018-03-14  7:51 UTC (permalink / raw)
  To: edk2-devel

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Intel Reference Board doesn't work after inserting INT 15h/86h into Flat32.asm
  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
  0 siblings, 0 replies; 2+ messages in thread
From: Richardson, Brian @ 2018-03-15 16:44 UTC (permalink / raw)
  To: edk2-devel@lists.01.org

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


^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-03-15 16:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
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 is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox