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

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

unix.superglobalmegacorp.com

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