tdioctl.c (302408) | tdioctl.c (315221) |
---|---|
1/******************************************************************************* 2*Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 3* 4*Redistribution and use in source and binary forms, with or without modification, are permitted provided 5*that the following conditions are met: 6*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 7*following disclaimer. 8*2. Redistributions in binary form must reproduce the above copyright notice, --- 13 unchanged lines hidden (view full) --- 22/*******************************************************************************/ 23/** \file 24 * 25 * 26 * This file contains Management IOCTL APIs 27 * 28 */ 29#include <sys/cdefs.h> | 1/******************************************************************************* 2*Copyright (c) 2014 PMC-Sierra, Inc. All rights reserved. 3* 4*Redistribution and use in source and binary forms, with or without modification, are permitted provided 5*that the following conditions are met: 6*1. Redistributions of source code must retain the above copyright notice, this list of conditions and the 7*following disclaimer. 8*2. Redistributions in binary form must reproduce the above copyright notice, --- 13 unchanged lines hidden (view full) --- 22/*******************************************************************************/ 23/** \file 24 * 25 * 26 * This file contains Management IOCTL APIs 27 * 28 */ 29#include <sys/cdefs.h> |
30__FBSDID("$FreeBSD: stable/11/sys/dev/pms/RefTisa/tisa/sassata/common/tdioctl.c 285242 2015-07-07 13:17:02Z achim $"); | 30__FBSDID("$FreeBSD: stable/11/sys/dev/pms/RefTisa/tisa/sassata/common/tdioctl.c 315221 2017-03-14 02:06:03Z pfg $"); |
31#include <dev/pms/config.h> 32 33#include <dev/pms/freebsd/driver/common/osenv.h> 34#include <dev/pms/freebsd/driver/common/ostypes.h> 35#include <dev/pms/freebsd/driver/common/osdebug.h> 36 37#include <dev/pms/RefTisa/sallsdk/api/sa.h> 38#include <dev/pms/RefTisa/sallsdk/api/saapi.h> --- 335 unchanged lines hidden (view full) --- 374 tdsaContext_t *tdsaAllShared = (tdsaContext_t *)&tdsaRoot->tdsaAllShared; 375 agsaRoot_t *agRoot = &(tdsaAllShared->agRootNonInt); 376 bit32 EventLogLength = 0; 377 bit32 EventLogOption; 378 bit32 ReadLength = 0; 379 bit32 Offset = 0; 380 bit32 RequestLength = 0; /* user request on how much data to pass to application */ 381 agsaContext_t *agContext = NULL; | 31#include <dev/pms/config.h> 32 33#include <dev/pms/freebsd/driver/common/osenv.h> 34#include <dev/pms/freebsd/driver/common/ostypes.h> 35#include <dev/pms/freebsd/driver/common/osdebug.h> 36 37#include <dev/pms/RefTisa/sallsdk/api/sa.h> 38#include <dev/pms/RefTisa/sallsdk/api/saapi.h> --- 335 unchanged lines hidden (view full) --- 374 tdsaContext_t *tdsaAllShared = (tdsaContext_t *)&tdsaRoot->tdsaAllShared; 375 agsaRoot_t *agRoot = &(tdsaAllShared->agRootNonInt); 376 bit32 EventLogLength = 0; 377 bit32 EventLogOption; 378 bit32 ReadLength = 0; 379 bit32 Offset = 0; 380 bit32 RequestLength = 0; /* user request on how much data to pass to application */ 381 agsaContext_t *agContext = NULL; |
382 bit8 *loc = 0; | 382 bit8 *loc = NULL; |
383 384 TI_DBG3(("tiCOMMgntIOCTL: start\n")); 385 386 TI_DBG3(("tiCOMMgntIOCTL: tiRoot %p agIOCTLPayload %p agParam1 %p agParam2 %p agParam3 %p\n", 387 tiRoot,agIOCTLPayload,agParam1,agParam2,agParam3 )); 388 389 TI_DBG3(("tiCOMMgntIOCTL: Signature %X\ntiCOMMgntIOCTL: MajorFunction 0x%X\ntiCOMMgntIOCTL: MinorFunction 0x%X\ntiCOMMgntIOCTL: Length 0x%X\ntiCOMMgntIOCTL: Status 0x%X\ntiCOMMgntIOCTL: Reserved 0x%X\ntiCOMMgntIOCTL: FunctionSpecificArea 0x%X\n", 390 agIOCTLPayload->Signature, --- 3292 unchanged lines hidden --- | 383 384 TI_DBG3(("tiCOMMgntIOCTL: start\n")); 385 386 TI_DBG3(("tiCOMMgntIOCTL: tiRoot %p agIOCTLPayload %p agParam1 %p agParam2 %p agParam3 %p\n", 387 tiRoot,agIOCTLPayload,agParam1,agParam2,agParam3 )); 388 389 TI_DBG3(("tiCOMMgntIOCTL: Signature %X\ntiCOMMgntIOCTL: MajorFunction 0x%X\ntiCOMMgntIOCTL: MinorFunction 0x%X\ntiCOMMgntIOCTL: Length 0x%X\ntiCOMMgntIOCTL: Status 0x%X\ntiCOMMgntIOCTL: Reserved 0x%X\ntiCOMMgntIOCTL: FunctionSpecificArea 0x%X\n", 390 agIOCTLPayload->Signature, --- 3292 unchanged lines hidden --- |