]> Joshua Wise's Git repositories - netwatch.git/blobdiff - tools/poke-rls-asm.S
Fix smm_type detection to actually detect, and add a state_num_regs routine.
[netwatch.git] / tools / poke-rls-asm.S
index 980b4bf48dbae1824f3c906abe4ed2e37d08284e..a67503e254bbdcc87d8bb9e8ab7331e74cab3cfd 100644 (file)
@@ -1,7 +1,14 @@
+# poke-rls-asm.S
+# Helper functions for poke-rls.c
+# NetWatch system management mode administration console
+#
+# Copyright (c) 2008 Jacob Potter and Joshua Wise.  All rights reserved.
+# This program is free software; you can redistribute and/or modify it under
+# the terms found in the file LICENSE in the root of this source tree.
+
 .global poke
 poke:
-       # Preload registers: $0x1BADD00D
-       mov $0x1BADD00D, %ecx
+       mov 8(%esp), %ecx
 
        # Parameter: I/O port to set bit 2 of
        mov 4(%esp), %edx
This page took 0.026077 seconds and 4 git commands to generate.