aboutsummaryrefslogtreecommitdiff
path: root/lowlevel.c
diff options
context:
space:
mode:
Diffstat (limited to 'lowlevel.c')
-rw-r--r--lowlevel.c22
1 files changed, 20 insertions, 2 deletions
diff --git a/lowlevel.c b/lowlevel.c
index b305ea4..0fc353a 100644
--- a/lowlevel.c
+++ b/lowlevel.c
@@ -1,3 +1,21 @@
+/*
+ * This program is free software; you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation; either version 2 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
+ * MA 02110-1301, USA.
+ *
+ */
+
#ifndef LOWLEVEL_C
#define LOWLEVEL_C
@@ -13,12 +31,12 @@ void outb(uint16_t p,uint8_t val)
void disable_ints()
{
- asm("cli");
+ asm("cli"::);
}
void enable_ints()
{
- asm("sti");
+ asm("sti"::);
}
#endif \ No newline at end of file