X-Git-Url: http://git.joshuawise.com/netwatch.git/blobdiff_plain/efea5b4edd5cc94b4ed0917ebca0efb6bb6a2f82..98e930a2a059808ccede1f1298677aa59e4b7391:/grubload/output.c?ds=inline diff --git a/grubload/output.c b/grubload/output.c index 6a6ffab..5f0365d 100644 --- a/grubload/output.c +++ b/grubload/output.c @@ -1,3 +1,14 @@ +/* output.c + * Console output routines + * NetWatch multiboot loader + * + * 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 #include #include @@ -8,7 +19,7 @@ static void safeputs(const char *s) { - unsigned long old = smram_save_state(); + smram_state_t old = smram_save_state(); smram_aseg_set_state(SMRAM_ASEG_SMMONLY); puts(s); smram_restore_state(old);