forked from tianocore/edk2
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- working HDEC-based TimerDxe - TB-based TimerLib - Shell needed the unicode collation driver. - set correct PcdShellFile to have the shell be recognised by BDS - TB frequency set in Ipl today through the Pcr, at some point this should be set through a PCD by a FDT-parsing DXE. Fixes issue tianocore#2 Closes Milestone UEFI Shell Boot Signed-off-by: Andrei Warkentin <andrey.warkentin@gmail.com>
- Loading branch information
Showing
10 changed files
with
429 additions
and
18 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -505,6 +505,7 @@ | |
PPC64/SwitchStack.S | ||
PPC64/CpuBreakpoint.S | ||
PPC64/SetJump.S | ||
PPC64/CpuPause.S | ||
Unaligned.c | ||
Math64.c | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,37 @@ | ||
// | ||
// Copyright (c) 2015, Andrei Warkentin <andrey.warkentin@gmail.com> | ||
// | ||
// This program and the accompanying materials | ||
// are licensed and made available under the terms and conditions of the BSD License | ||
// which accompanies this distribution. The full text of the license may be found at | ||
// http://opensource.org/licenses/bsd-license.php | ||
// | ||
// THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS, | ||
// WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED. | ||
// | ||
|
||
#define SMT_VERY_LOW or 31, 31, 31 | ||
#define SMT_MEDIUM or 2, 2, 2 | ||
|
||
/** | ||
// | ||
// Requests CPU to pause for a short period of time. | ||
// | ||
// Requests CPU to pause for a short period of time. Typically used in MP | ||
// systems to prevent memory starvation while waiting for a spin lock. | ||
// | ||
VOID | ||
EFIAPI | ||
CpuPause ( | ||
VOID | ||
) | ||
**/ | ||
ASM_FUNC(CpuPause) | ||
SMT_VERY_LOW | ||
nop | ||
nop | ||
nop | ||
nop | ||
nop | ||
SMT_MEDIUM | ||
blr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.