~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

Linux Cross Reference
Linux/include/asm-alpha/console.h

Version: ~ [ 2.4.0 ] ~
Architecture: ~ [ i386 ] ~ [ alpha ] ~ [ m68k ] ~ [ mips ] ~ [ ppc ] ~ [ sparc ] ~ [ sparc64 ] ~

  1 #ifndef __AXP_CONSOLE_H
  2 #define __AXP_CONSOLE_H
  3 
  4 /*
  5  * Console callback routine numbers
  6  */
  7 #define CCB_GETC                0x01
  8 #define CCB_PUTS                0x02
  9 #define CCB_RESET_TERM          0x03
 10 #define CCB_SET_TERM_INT        0x04
 11 #define CCB_SET_TERM_CTL        0x05
 12 #define CCB_PROCESS_KEYCODE     0x06
 13 
 14 #define CCB_OPEN                0x10
 15 #define CCB_CLOSE               0x11
 16 #define CCB_IOCTL               0x12
 17 #define CCB_READ                0x13
 18 #define CCB_WRITE               0x14
 19 
 20 #define CCB_SET_ENV             0x20
 21 #define CCB_RESET_ENV           0x21
 22 #define CCB_GET_ENV             0x22
 23 #define CCB_SAVE_ENV            0x23
 24 
 25 #define CCB_PSWITCH            0x30
 26 #define CCB_BIOS_EMUL          0x32
 27 
 28 /*
 29  * Environment variable numbers
 30  */
 31 #define ENV_AUTO_ACTION         0x01
 32 #define ENV_BOOT_DEV            0x02
 33 #define ENV_BOOTDEF_DEV         0x03
 34 #define ENV_BOOTED_DEV          0x04
 35 #define ENV_BOOT_FILE           0x05
 36 #define ENV_BOOTED_FILE         0x06
 37 #define ENV_BOOT_OSFLAGS        0x07
 38 #define ENV_BOOTED_OSFLAGS      0x08
 39 #define ENV_BOOT_RESET          0x09
 40 #define ENV_DUMP_DEV            0x0A
 41 #define ENV_ENABLE_AUDIT        0x0B
 42 #define ENV_LICENSE             0x0C
 43 #define ENV_CHAR_SET            0x0D
 44 #define ENV_LANGUAGE            0x0E
 45 #define ENV_TTY_DEV             0x0F
 46 
 47 #ifdef __KERNEL__
 48 #ifndef __ASSEMBLY__
 49 extern long callback_puts(long unit, const char *s, long length);
 50 extern long callback_open(const char *device, long length);
 51 extern long callback_close(long unit);
 52 extern long callback_read(long channel, long count, const char *buf, long lbn);
 53 extern long callback_getenv(long id, const char *buf, unsigned long buf_size);
 54 
 55 extern int srm_fixup(unsigned long new_callback_addr,
 56                      unsigned long new_hwrpb_addr);
 57 extern long srm_puts(const char *, long);
 58 extern long srm_printk(const char *, ...)
 59         __attribute__ ((format (printf, 1, 2)));
 60 
 61 struct crb_struct;
 62 struct hwrpb_struct;
 63 extern int callback_init_done;
 64 extern void * callback_init(void *);
 65 #endif /* __ASSEMBLY__ */
 66 #endif /* __KERNEL__ */
 67 
 68 #endif /* __AXP_CONSOLE_H */
 69 

~ [ source navigation ] ~ [ diff markup ] ~ [ identifier search ] ~ [ freetext search ] ~ [ file search ] ~

This page was automatically generated by the LXR engine.
Visit the LXR main site for more information.