Skip to content

Commit

Permalink
ACPICA: Header support for SLIC table
Browse files Browse the repository at this point in the history
We finally have the definition for this table.

Signed-off-by: Bob Moore <[email protected]>
Signed-off-by: Lin Ming <[email protected]>
Signed-off-by: Len Brown <[email protected]>
  • Loading branch information
acpibob authored and lenb committed Mar 23, 2011
1 parent 589c7a3 commit 5cf4d73
Showing 1 changed file with 63 additions and 1 deletion.
64 changes: 63 additions & 1 deletion include/acpi/actbl2.h
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
/******************************************************************************
*
* Name: actbl2.h - ACPI Specification Revision 2.0 Tables
* Name: actbl2.h - ACPI Table Definitions (tables not in ACPI spec)
*
*****************************************************************************/

Expand Down Expand Up @@ -714,6 +714,68 @@ struct acpi_table_mchi {
u8 pci_function;
};

/*******************************************************************************
*
* SLIC - Software Licensing Description Table
* Version 1
*
* Conforms to "OEM Activation 2.0 for Windows Vista Operating Systems",
* Copyright 2006
*
******************************************************************************/

/* Basic SLIC table is only the common ACPI header */

struct acpi_table_slic {
struct acpi_table_header header; /* Common ACPI table header */
};

/* Common SLIC subtable header */

struct acpi_slic_header {
u32 type;
u32 length;
};

/* Values for Type field above */

enum acpi_slic_type {
ACPI_SLIC_TYPE_PUBLIC_KEY = 0,
ACPI_SLIC_TYPE_WINDOWS_MARKER = 1,
ACPI_SLIC_TYPE_RESERVED = 2 /* 2 and greater are reserved */
};

/*
* SLIC Sub-tables, correspond to Type in struct acpi_slic_header
*/

/* 0: Public Key Structure */

struct acpi_slic_key {
struct acpi_slic_header header;
u8 key_type;
u8 version;
u16 reserved;
u32 algorithm;
char magic[4];
u32 bit_length;
u32 exponent;
u8 modulus[128];
};

/* 1: Windows Marker Structure */

struct acpi_slic_marker {
struct acpi_slic_header header;
u32 version;
char oem_id[ACPI_OEM_ID_SIZE]; /* ASCII OEM identification */
char oem_table_id[ACPI_OEM_TABLE_ID_SIZE]; /* ASCII OEM table identification */
char windows_flag[8];
u32 slic_version;
u8 reserved[16];
u8 signature[128];
};

/*******************************************************************************
*
* SPCR - Serial Port Console Redirection table
Expand Down

0 comments on commit 5cf4d73

Please sign in to comment.