1 /* Aput_byte.c 1.1 86/07/20 */ 2 3 #include "../tahoealign/align.h" 4 5 put_byte (infop, byte, where) 6 process_info *infop; 7 char *where; 8 long byte; 9 /* 10 /* Put the byte at the given address in memory. 11 /* Caveat: It's quite difficult to find a pte reference 12 /* fault. So I took the easy way out and just signal 13 /* an illegal access. 14 /* 15 /**************************************************/ 16 { 17 register long code; 18 19 code = writeable(infop, where, 1); 20 if ( code == TRUE ) { 21 *where = byte; 22 } else exception (infop, ILL_ACCESS, where, code); 23 } 24