Annotation of 43BSDReno/sys/tahoealign/Aget_byte.c, revision 1.1.1.1

1.1       root        1: /*     Aget_byte.c     1.1     86/07/20        */
                      2: 
                      3: #include       "../tahoealign/align.h"
                      4: int get_byte (infop, address)
                      5: process_info   *infop;
                      6: char           *address;
                      7: /*
                      8: /*     Fetch the byte at the given 'address' from 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 = readable(infop, (long)address, 1);
                     18:        if ( code == TRUE ) {
                     19:                return(*address);
                     20:        } else exception (infop, ILL_ACCESS, address, code);
                     21: }

unix.superglobalmegacorp.com

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