patch-2.4.9 linux/include/asm-alpha/console.h
Next file: linux/include/asm-alpha/irq.h
Previous file: linux/include/asm-alpha/cache.h
Back to the patch index
Back to the overall index
- Lines: 20
- Date:
Sun Aug 12 10:51:41 2001
- Orig file:
v2.4.8/linux/include/asm-alpha/console.h
- Orig date:
Mon Jun 19 17:59:33 2000
diff -u --recursive --new-file v2.4.8/linux/include/asm-alpha/console.h linux/include/asm-alpha/console.h
@@ -22,8 +22,8 @@
#define CCB_GET_ENV 0x22
#define CCB_SAVE_ENV 0x23
-#define CCB_PSWITCH 0x30
-#define CCB_BIOS_EMUL 0x32
+#define CCB_PSWITCH 0x30
+#define CCB_BIOS_EMUL 0x32
/*
* Environment variable numbers
@@ -51,6 +51,8 @@
extern long callback_close(long unit);
extern long callback_read(long channel, long count, const char *buf, long lbn);
extern long callback_getenv(long id, const char *buf, unsigned long buf_size);
+extern long callback_setenv(long id, const char *buf, unsigned long buf_size);
+extern long callback_save_env(void);
extern int srm_fixup(unsigned long new_callback_addr,
unsigned long new_hwrpb_addr);
FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)