<commit_before>/*++

Copyright (c) 2004, Intel Corporation                                                         
All rights reserved. This program and the accompanying materials                          
are licensed and made available under the terms and conditions of the BSD License         
which accompanies this distribution.  The full text of the license may be found at        
http://opensource.org/licenses/bsd-license.php                                            
                                                                                          
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             

Module Name:

    Processor.c

Abstract:

--*/

#include "Tiano.h"
#include "EfiJump.h"
#include "PeiHob.h"
#include EFI_GUID_DEFINITION (PeiFlushInstructionCache)
#include EFI_GUID_DEFINITION (PeiTransferControl)

EFI_STATUS
WinNtFlushInstructionCacheFlush (
  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,
  IN EFI_PHYSICAL_ADDRESS                       Start,
  IN UINT64                                     Length
  );

EFI_PEI_TRANSFER_CONTROL_PROTOCOL         mTransferControl = {
  SetJump,
  LongJump,
  sizeof (EFI_JUMP_BUFFER)
};

EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  mFlushInstructionCache = {
  WinNtFlushInstructionCacheFlush
};

EFI_STATUS
InstallEfiPeiTransferControl (
  IN OUT EFI_PEI_TRANSFER_CONTROL_PROTOCOL **This
  )
/*++

Routine Description:

  Installs the pointer to the transfer control mechanism

Arguments:

  This       - Pointer to transfer control mechanism.

Returns:

  EFI_SUCCESS     - Successfully installed.

--*/<commit_msg>ICC cleanup: add EFI_PEI_TRANSFER_CONTROL_SET_JUMP and EFI_PEI_TRANSFER_CONTROL_LONG_JUMP data cast.<commit_after>/*++

Copyright (c) 2004, Intel Corporation                                                         
All rights reserved. This program and the accompanying materials                          
are licensed and made available under the terms and conditions of the BSD License         
which accompanies this distribution.  The full text of the license may be found at        
http://opensource.org/licenses/bsd-license.php                                            
                                                                                          
THE PROGRAM IS DISTRIBUTED UNDER THE BSD LICENSE ON AN "AS IS" BASIS,                     
WITHOUT WARRANTIES OR REPRESENTATIONS OF ANY KIND, EITHER EXPRESS OR IMPLIED.             

Module Name:

    Processor.c

Abstract:

--*/

#include "Tiano.h"
#include "EfiJump.h"
#include "PeiHob.h"
#include EFI_GUID_DEFINITION (PeiFlushInstructionCache)
#include EFI_GUID_DEFINITION (PeiTransferControl)

EFI_STATUS
WinNtFlushInstructionCacheFlush (
  IN EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL   *This,
  IN EFI_PHYSICAL_ADDRESS                       Start,
  IN UINT64                                     Length
  );

EFI_PEI_TRANSFER_CONTROL_PROTOCOL         mTransferControl = {
  (EFI_PEI_TRANSFER_CONTROL_SET_JUMP)  SetJump,
  (EFI_PEI_TRANSFER_CONTROL_LONG_JUMP) LongJump,
  sizeof (EFI_JUMP_BUFFER)
};

EFI_PEI_FLUSH_INSTRUCTION_CACHE_PROTOCOL  mFlushInstructionCache = {
  WinNtFlushInstructionCacheFlush
};

EFI_STATUS
InstallEfiPeiTransferControl (
  IN OUT EFI_PEI_TRANSFER_CONTROL_PROTOCOL **This
  )
/*++

Routine Description:

  Installs the pointer to the transfer control mechanism

Arguments:

  This       - Pointer to transfer control mechanism.

Returns:

  EFI_SUCCESS     - Successfully installed.

--*/
{'fraction_non_alphanumeric': 0.04973749654600718, 'fraction_numerical': 0.0033158331030671458, 'mean_word_length': 2.1588132635253054, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 16, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6815944', 'n_tokens_mistral': 1041, 'n_tokens_neox': 1013, 'n_words': 271}