]> Joshua Wise's Git repositories - netwatch.git/blame_incremental - tools/poke-rls-asm.S
Remove demapper from pagingstub.c, since that code is now elsewhere. Correct locatio...
[netwatch.git] / tools / poke-rls-asm.S
... / ...
CommitLineData
1# poke-rls-asm.S
2# Helper functions for poke-rls.c
3# NetWatch system management mode administration console
4#
5# Copyright (c) 2008 Jacob Potter and Joshua Wise. All rights reserved.
6# This program is free software; you can redistribute and/or modify it under
7# the terms found in the file LICENSE in the root of this source tree.
8
9.global poke
10poke:
11 mov 8(%esp), %ecx
12
13 # Parameter: I/O port to set bit 2 of
14 mov 4(%esp), %edx
15 inl %dx, %eax
16 or $4, %eax
17 outl %eax, %dx
18
19 # Maybe SMM poked something?
20 mov %ecx, %eax
21 ret
This page took 0.018673 seconds and 4 git commands to generate.