Skip to content

Commit 842e004

Browse files
LeaNumworksEmilieNumworks
authored andcommitted
[ion] Fix scanForInterruptionAndPopState file location
It's only needed for the userland, and it would not compile otherwise, at least on n0100
1 parent e99702d commit 842e004

2 files changed

Lines changed: 6 additions & 11 deletions

File tree

ion/src/device/shared/drivers/keyboard.cpp

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -45,17 +45,6 @@
4545
#include <shared/drivers/keyboard.h>
4646

4747
namespace Ion {
48-
49-
namespace Keyboard {
50-
51-
State scanForInterruptionAndPopState() {
52-
/* There is no need to manually scan to get the interruptions, as they are
53-
* done in hardware. We only need to do it on simulators. */
54-
return popState();
55-
}
56-
57-
}
58-
5948
namespace Device {
6049
namespace Keyboard {
6150

ion/src/device/userland/drivers/keyboard.cpp

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,12 @@ State scan() {
1616
return State(privateScan());
1717
}
1818

19+
State scanForInterruptionAndPopState() {
20+
/* There is no need to manually scan to get the interruptions, as they are
21+
* done in hardware. We only need to do it on simulators. */
22+
return popState();
23+
}
24+
1925
State popState() {
2026
return State(privatePopState());
2127
}

0 commit comments

Comments
 (0)