db_access.c (2056) | db_access.c (2112) |
---|---|
1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * | 1/* 2 * Mach Operating System 3 * Copyright (c) 1991,1990 Carnegie Mellon University 4 * All Rights Reserved. 5 * 6 * Permission to use, copy, modify and distribute this software and its 7 * documentation is hereby granted, provided that both the copyright 8 * notice and this permission notice appear in all copies of the --- 9 unchanged lines hidden (view full) --- 18 * Software Distribution Coordinator or Software.Distribution@CS.CMU.EDU 19 * School of Computer Science 20 * Carnegie Mellon University 21 * Pittsburgh PA 15213-3890 22 * 23 * any improvements or extensions that they make and grant Carnegie the 24 * rights to redistribute these changes. 25 * |
26 * $Id: db_access.c,v 1.4 1993/12/19 00:49:42 wollman Exp $ | 26 * $Id: db_access.c,v 1.5 1994/08/13 03:49:13 wollman Exp $ |
27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/proc.h> 36#include <ddb/ddb.h> 37 38/* 39 * Access unaligned data items on aligned (longword) 40 * boundaries. 41 */ 42 | 27 */ 28 29/* 30 * Author: David B. Golub, Carnegie Mellon University 31 * Date: 7/90 32 */ 33#include <sys/param.h> 34#include <sys/systm.h> 35#include <sys/proc.h> 36#include <ddb/ddb.h> 37 38/* 39 * Access unaligned data items on aligned (longword) 40 * boundaries. 41 */ 42 |
43extern void db_read_bytes(); /* machine-dependent */ 44extern void db_write_bytes(); /* machine-dependent */ 45 | |
46unsigned db_extend[] = { /* table for sign-extending */ 47 0, 48 0xFFFFFF80U, 49 0xFFFF8000U, 50 0xFF800000U 51}; 52 53db_expr_t --- 50 unchanged lines hidden --- | 43unsigned db_extend[] = { /* table for sign-extending */ 44 0, 45 0xFFFFFF80U, 46 0xFFFF8000U, 47 0xFF800000U 48}; 49 50db_expr_t --- 50 unchanged lines hidden --- |