X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/2cd64cbf2e235c588ffee9f3de974903d5e7087e..8e7d9af004f36ed0d2dc94d1e8254e2ff5a32503:/ich2/smram-ich2.c?ds=sidebyside diff --git a/ich2/smram-ich2.c b/ich2/smram-ich2.c index efc79e6..0441914 100644 --- a/ich2/smram-ich2.c +++ b/ich2/smram-ich2.c @@ -1,3 +1,14 @@ +/* smram-ich2.c + * SMRAM access utility for ICH2 chipset + * 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. + * + */ + + #include "reg-82815.h" #include #include @@ -138,7 +149,7 @@ int smram_aseg_set_state (int open) { if (smram_locked()) return -1; - + smramc = pci_read8(0, 0, 0, SMRAMC); switch (open)