Skip to content

Commit

Permalink
Platform/x86 Updated SEP/SOCPERF drivers to latest version
Browse files Browse the repository at this point in the history
Signed-off-by: Manisha Chinthapally <manisha.chinthapally@intel.com>
  • Loading branch information
mchinth committed Feb 2, 2022
1 parent fc8aa7e commit 4cbfca1
Show file tree
Hide file tree
Showing 113 changed files with 22,291 additions and 11,598 deletions.
3 changes: 1 addition & 2 deletions drivers/platform/x86/Makefile
Expand Up @@ -128,5 +128,4 @@ obj-$(CONFIG_PMC_ATOM) += pmc_atom.o
obj-$(CONFIG_INTEL_SOCPERF) += socperf/
obj-$(CONFIG_INTEL_SOCWATCH) += socwatch/ socperf/
obj-$(CONFIG_INTEL_SOCWATCH_HV) += socwatchhv/
# Commented out SEP for Socwatch pull request.
#obj-$(CONFIG_INTEL_SEP) += sepdk/ socperf/
obj-$(CONFIG_INTEL_SEP) += sepdk/ socperf/
71 changes: 33 additions & 38 deletions drivers/platform/x86/sepdk/inc/apic.h
@@ -1,44 +1,39 @@
/* ****************************************************************************
* Copyright(C) 2009-2018 Intel Corporation. All Rights Reserved.
*
* This file is part of SEP Development Kit
*
* SEP Development Kit is free software; you can redistribute it
* and/or modify it under the terms of the GNU General Public License
* version 2 as published by the Free Software Foundation.
*
* SEP Development Kit is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
* As a special exception, you may use this file as part of a free software
* library without restriction. Specifically, if other files instantiate
* templates or use macros or inline functions from this file, or you
* compile this file and link it with other files to produce an executable
* this file does not by itself cause the resulting executable to be
* covered by the GNU General Public License. This exception does not
* however invalidate any other reasons why the executable file might be
* covered by the GNU General Public License.
* ****************************************************************************
*/
/****
Copyright (C) 2005-2022 Intel Corporation. All Rights Reserved.
This file is part of SEP Development Kit.
SEP Development Kit is free software; you can redistribute it
and/or modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
SEP Development Kit is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
As a special exception, you may use this file as part of a free software
library without restriction. Specifically, if other files instantiate
templates or use macros or inline functions from this file, or you compile
this file and link it with other files to produce an executable, this
file does not by itself cause the resulting executable to be covered by
the GNU General Public License. This exception does not however
invalidate any other reasons why the executable file might be covered by
the GNU General Public License.
****/

#ifndef _APIC_H_
#define _APIC_H_

#include <stddef.h>
#include <linux/irq.h>

typedef U64 * PHYSICAL_ADDRESS;

typedef U64 *PHYSICAL_ADDRESS;
/**
* Data Types and Macros
*/

// Data Types and Macros
*/
/*
* APIC registers and constants
*/

// APIC registers and constants
*/
// APIC base MSR
#define DRV_APIC_BASE_MSR 0x001b

Expand Down Expand Up @@ -100,13 +95,13 @@ typedef U64 * PHYSICAL_ADDRESS;
#define DRV_APIC_VIRTUAL_WIRE_ENABLED(a) ((a)&0x100)

/**
* Function Declarations
*/
// Function Declarations
*/

/*
* APIC control functions
*/
extern VOID APIC_Enable_Pmi(void);
// APIC control functions
*/
extern VOID APIC_Enable_Pmi(VOID);
extern VOID APIC_Init(PVOID param);
extern VOID APIC_Install_Interrupt_Handler(PVOID param);
extern VOID APIC_Restore_LVTPC(PVOID param);
Expand Down
31 changes: 0 additions & 31 deletions drivers/platform/x86/sepdk/inc/chap.h

This file was deleted.

0 comments on commit 4cbfca1

Please sign in to comment.