bus_space_handle_t:

- make _asi and _sasi unsigned to reduce superfluous codes by sign extension.
- remove unused member _virtual.
This commit is contained in:
nakayama 2009-12-04 12:22:16 +00:00
parent 4052083605
commit 9491015d8b

View File

@ -1,4 +1,4 @@
/* $NetBSD: bus.h,v 1.59 2009/06/01 01:14:06 macallan Exp $ */ /* $NetBSD: bus.h,v 1.60 2009/12/04 12:22:16 nakayama Exp $ */
/*- /*-
* Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc. * Copyright (c) 1996, 1997, 1998, 2001 The NetBSD Foundation, Inc.
@ -101,9 +101,8 @@ enum bus_type {
*/ */
typedef struct _bus_space_handle { typedef struct _bus_space_handle {
uint64_t _ptr; uint64_t _ptr;
int8_t _asi; uint8_t _asi;
int8_t _sasi; uint8_t _sasi;
char _virtual;
} bus_space_handle_t; } bus_space_handle_t;
typedef enum bus_type bus_type_t; typedef enum bus_type bus_type_t;
typedef u_int64_t bus_addr_t; typedef u_int64_t bus_addr_t;