]> git.proxmox.com Git - mirror_edk2.git/commit
UefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler
authorjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 22 Oct 2010 01:07:48 +0000 (01:07 +0000)
committerjljusten <jljusten@6f19259b-4bc3-4df7-8a09-765794883524>
Fri, 22 Oct 2010 01:07:48 +0000 (01:07 +0000)
commit557b970a2f190e9c4c1f082c5e37cfec8dfce5b4
treea41ef6799059f4765c51fea83d89e61b3fb76e4c
parentf0384583afe35c9e5f2771ac975076521eb5e37e
UefiCpuPkg CpuDxe: Fix bug with CPU Arch RegisterInterruptHandler

The change in r10765 introduced an issue where inherited interrupt
handlers would override the driver's RegisterInterruptHandler
functionality.

DUET installs a IDT with 256 entries early in it's boot.  Therefore,
no interrupt handlers could be installed with DUET while using
UefiCpuPkg/CpuDxe (instead of DuetPkg/CpuDxe).

This change forces the IDT to be modified when RegisterInterruptHandler
is called to ensure the UEFI handler will be installed properly.

git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@10972 6f19259b-4bc3-4df7-8a09-765794883524
UefiCpuPkg/CpuDxe/CpuDxe.c