Annotation of cci/sys/tahoe/Aput_byte.c, revision 1.1.1.1

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

unix.superglobalmegacorp.com

This archive runs on limited infrastructure. Preserving old code on modern bandwidth. Automated agents are requested to crawl responsibly.