Deleted
Added
cpuid_drv.h (7c478bd95313f5f23a4c958a745db2134aa03244) | cpuid_drv.h (ebb8ac078e9265f87093fbb363e8c2cbc6ee13e6) |
---|---|
1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 9 unchanged lines hidden (view full) --- 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ | 1/* 2 * CDDL HEADER START 3 * 4 * The contents of this file are subject to the terms of the 5 * Common Development and Distribution License, Version 1.0 only 6 * (the "License"). You may not use this file except in compliance 7 * with the License. 8 * --- 9 unchanged lines hidden (view full) --- 18 * information: Portions Copyright [yyyy] [name of copyright owner] 19 * 20 * CDDL HEADER END 21 */ 22/* 23 * Copyright 2004 Sun Microsystems, Inc. All rights reserved. 24 * Use is subject to license terms. 25 */ |
26/* 27 * Copyright (c) 2012, Joyent, Inc. All rights reserved. 28 */ |
|
26 27#ifndef _SYS_CPUID_DRV_H 28#define _SYS_CPUID_DRV_H 29 | 29 30#ifndef _SYS_CPUID_DRV_H 31#define _SYS_CPUID_DRV_H 32 |
30#pragma ident "%Z%%M% %I% %E% SMI" 31 | |
32#include <sys/types.h> 33 34#ifdef __cplusplus 35extern "C" { 36#endif 37 38/* 39 * /dev names: --- 21 unchanged lines hidden (view full) --- 61 * ioctl numbers: not an exported interface 62 */ 63#define CPUID_IOC (('c'<<24)|('i'<<16)|('d'<<8)) 64 65#define CPUID_GET_HWCAP (CPUID_IOC|0) 66 67struct cpuid_get_hwcap { 68 char *cgh_archname; | 33#include <sys/types.h> 34 35#ifdef __cplusplus 36extern "C" { 37#endif 38 39/* 40 * /dev names: --- 21 unchanged lines hidden (view full) --- 62 * ioctl numbers: not an exported interface 63 */ 64#define CPUID_IOC (('c'<<24)|('i'<<16)|('d'<<8)) 65 66#define CPUID_GET_HWCAP (CPUID_IOC|0) 67 68struct cpuid_get_hwcap { 69 char *cgh_archname; |
69 uint_t cgh_hwcap; | 70 uint_t cgh_hwcap[2]; |
70}; 71 72#if defined(_SYSCALL32_IMPL) 73 74#include <sys/types32.h> 75 76struct cpuid_get_hwcap32 { 77 caddr32_t cgh_archname; | 71}; 72 73#if defined(_SYSCALL32_IMPL) 74 75#include <sys/types32.h> 76 77struct cpuid_get_hwcap32 { 78 caddr32_t cgh_archname; |
78 uint32_t cgh_hwcap; | 79 uint32_t cgh_hwcap[2]; |
79}; 80 81#endif /* _SYSCALL32_IMPL */ 82 83#ifdef __cplusplus 84} 85#endif 86 87#endif /* _SYS_CPUID_DRV_H */ | 80}; 81 82#endif /* _SYSCALL32_IMPL */ 83 84#ifdef __cplusplus 85} 86#endif 87 88#endif /* _SYS_CPUID_DRV_H */ |