Updated function key mapping because of possible changes to NOTIFY.
The TTY driver now only notifies the IS server about function key event, but does not tell which keys are pressed. The IS servers queries the TTY driver to find out about this.
This commit is contained in:
@@ -12,15 +12,6 @@
|
||||
#define SENDREC 3 /* function code for SEND + RECEIVE */
|
||||
#define NOTIFY 4 /* function code for notifications */
|
||||
|
||||
#if 0
|
||||
/* Bit map operations to manipulate bits of a simple mask variable. */
|
||||
#define set_bit(mask, n) ((mask) |= (1 << (n)))
|
||||
#define clear_bit(mask, n) ((mask) &= ~(1 << (n)))
|
||||
#define isset_bit(mask, n) ((mask) & (1 << (n)))
|
||||
#define empty_mask (0)
|
||||
#define filled_mask (~0)
|
||||
#endif
|
||||
|
||||
/* Call masks indicating which system calls a process can make. */
|
||||
#define EMPTY_CALL_MASK (0)
|
||||
#define USER_CALL_MASK (1 << SENDREC)
|
||||
|
||||
@@ -54,11 +54,7 @@ _PROTOTYPE( int do_setalarm, (message *m_ptr) );
|
||||
#define do_signalrm do_setalarm
|
||||
#define do_syncalrm do_setalarm
|
||||
|
||||
#if ENABLE_K_TRACING
|
||||
_PROTOTYPE( int do_trace, (message *m_ptr) ); /* process tracing */
|
||||
#else
|
||||
#define do_trace do_unused
|
||||
#endif
|
||||
|
||||
|
||||
#endif /* SYSTEM_H */
|
||||
|
||||
@@ -12,7 +12,6 @@
|
||||
#include "../system.h"
|
||||
#include <sys/ptrace.h>
|
||||
|
||||
#if ENABLE_K_TRACING /* only include code if tracing is enabled */
|
||||
|
||||
/*==========================================================================*
|
||||
* do_trace *
|
||||
@@ -139,4 +138,3 @@ register message *m_ptr;
|
||||
return(OK);
|
||||
}
|
||||
|
||||
#endif /* ENABLE_K_TRACING */
|
||||
|
||||
Reference in New Issue
Block a user