Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 295289
b: refs/heads/master
c: 82af3a4
h: refs/heads/master
i:
  295287: eb6d7f6
v: v3
  • Loading branch information
Jiri Slaby authored and Tony Luck committed Feb 24, 2012
1 parent 83f100a commit 8f8e6b1
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 14 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 48e30fa0738be3688f655632d917498464019e60
refs/heads/master: 82af3a4e9e37eee7680cd4c6fa5d31e6cbcbb05b
17 changes: 4 additions & 13 deletions trunk/arch/ia64/hp/sim/boot/fw-emu.c
Original file line number Diff line number Diff line change
Expand Up @@ -160,28 +160,19 @@ sal_emulator (long index, unsigned long in1, unsigned long in2,
*/
status = 0;
if (index == SAL_FREQ_BASE) {
switch (in1) {
case SAL_FREQ_BASE_PLATFORM:
if (in1 == SAL_FREQ_BASE_PLATFORM)
r9 = 200000000;
break;

case SAL_FREQ_BASE_INTERVAL_TIMER:
else if (in1 == SAL_FREQ_BASE_INTERVAL_TIMER) {
/*
* Is this supposed to be the cr.itc frequency
* or something platform specific? The SAL
* doc ain't exactly clear on this...
*/
r9 = 700000000;
break;

case SAL_FREQ_BASE_REALTIME_CLOCK:
} else if (in1 == SAL_FREQ_BASE_REALTIME_CLOCK)
r9 = 1;
break;

default:
else
status = -1;
break;
}
} else if (index == SAL_SET_VECTORS) {
;
} else if (index == SAL_GET_STATE_INFO) {
Expand Down

0 comments on commit 8f8e6b1

Please sign in to comment.