/*
* CDDL HEADER START
*
* The contents of this file are subject to the terms of the
* Common Development and Distribution License (the "License").
* You may not use this file except in compliance with the License.
*
* You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE
* See the License for the specific language governing permissions
* and limitations under the License.
*
* When distributing Covered Code, include this CDDL HEADER in each
* file and include the License file at usr/src/OPENSOLARIS.LICENSE.
* If applicable, add the following below this CDDL HEADER, with the
* fields enclosed by brackets "[]" replaced with your own identifying
* information: Portions Copyright [yyyy] [name of copyright owner]
*
* CDDL HEADER END
*/
/*
*/
/*
* Adr memory based encoding
*/
#include <sys/feature_tests.h>
#include <c2/audit_kernel.h>
#include <c2/audit_record.h>
void
{
adr->adr_stream = p;
}
int
{
}
/*
* adr_char - pull out characters
*/
void
{
while (count-- > 0)
}
/*
* adr_short - pull out shorts
*/
void
{
}
}
/*
* adr_int32 - pull out int32
*/
void
{
int i; /* index for counting */
int32_t l; /* value for shifting */
for (i = 0, l = *lp; i < 4; i++) {
(int)24);
l <<= (int)8;
}
}
}
/*
* adr_int64 - pull out int64
*/
void
{
int i; /* index for counting */
int64_t l; /* value for shifting */
for (i = 0, l = *lp; i < 8; i++) {
(char)((l & (int64_t)0xff00000000000000) >>
(int)56);
l <<= (int)8;
}
}
}
char *
{
char *old;
return (old);
}
char *
{
char *old;
*sp >>= (int)8;
*sp >>= (int)8;
return (old);
}
char *
{
char *old;
int i;
for (i = 0; i < 4; i++) {
*lp <<= 8;
}
return (old);
}
char *
{
char *old;
int i;
for (i = 0; i < 8; i++) {
*lp <<= 8;
}
return (old);
}