Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
linux
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
linux
Commits
031de3c8
Commit
031de3c8
authored
Feb 17, 2003
by
Andy Grover
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ACPI: misc cleanups
parent
eb174ad0
Changes
6
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
26 additions
and
24 deletions
+26
-24
drivers/acpi/namespace/nsaccess.c
drivers/acpi/namespace/nsaccess.c
+5
-3
include/acpi/acpi.h
include/acpi/acpi.h
+15
-15
include/acpi/acpiosxf.h
include/acpi/acpiosxf.h
+1
-1
include/acpi/acpixf.h
include/acpi/acpixf.h
+2
-2
include/acpi/platform/acenv.h
include/acpi/platform/acenv.h
+1
-1
include/acpi/platform/aclinux.h
include/acpi/platform/aclinux.h
+2
-2
No files found.
drivers/acpi/namespace/nsaccess.c
View file @
031de3c8
...
@@ -104,11 +104,13 @@ acpi_ns_root_initialize (void)
...
@@ -104,11 +104,13 @@ acpi_ns_root_initialize (void)
status
=
acpi_os_predefined_override
(
init_val
,
&
val
);
status
=
acpi_os_predefined_override
(
init_val
,
&
val
);
if
(
ACPI_FAILURE
(
status
))
{
if
(
ACPI_FAILURE
(
status
))
{
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
ACPI_DEBUG_PRINT
((
ACPI_DB_ERROR
,
"Could not override predefined %s
\n
"
,
"Could not override predefined %s
\n
"
,
init_val
->
name
));
init_val
->
name
));
}
}
if
(
val
==
NULL
)
if
(
!
val
)
{
val
=
init_val
->
val
;
val
=
init_val
->
val
;
}
/*
/*
* Entry requests an initial value, allocate a
* Entry requests an initial value, allocate a
...
...
include/acpi/acpi.h
View file @
031de3c8
...
@@ -30,21 +30,21 @@
...
@@ -30,21 +30,21 @@
* We put them here because we don't want to duplicate them
* We put them here because we don't want to duplicate them
* in the rest of the source code again and again.
* in the rest of the source code again and again.
*/
*/
#include
<acpi/acconfig.h>
/* Configuration constants */
#include
"acconfig.h"
/* Configuration constants */
#include
<acpi/platform/acenv.h>
/* Target environment specific items */
#include
"platform/acenv.h"
/* Target environment specific items */
#include
<acpi/actypes.h>
/* Fundamental common data types */
#include
"actypes.h"
/* Fundamental common data types */
#include
<acpi/acexcep.h>
/* ACPI exception codes */
#include
"acexcep.h"
/* ACPI exception codes */
#include
<acpi/acmacros.h>
/* C macros */
#include
"acmacros.h"
/* C macros */
#include
<acpi/actbl.h>
/* ACPI table definitions */
#include
"actbl.h"
/* ACPI table definitions */
#include
<acpi/aclocal.h>
/* Internal data types */
#include
"aclocal.h"
/* Internal data types */
#include
<acpi/acoutput.h>
/* Error output and Debug macros */
#include
"acoutput.h"
/* Error output and Debug macros */
#include
<acpi/acpiosxf.h>
/* Interfaces to the ACPI-to-OS layer*/
#include
"acpiosxf.h"
/* Interfaces to the ACPI-to-OS layer*/
#include
<acpi/acpixf.h>
/* ACPI core subsystem external interfaces */
#include
"acpixf.h"
/* ACPI core subsystem external interfaces */
#include
<acpi/acobject.h>
/* ACPI internal object */
#include
"acobject.h"
/* ACPI internal object */
#include
<acpi/acstruct.h>
/* Common structures */
#include
"acstruct.h"
/* Common structures */
#include
<acpi/acglobal.h>
/* All global variables */
#include
"acglobal.h"
/* All global variables */
#include
<acpi/achware.h>
/* Hardware defines and interfaces */
#include
"achware.h"
/* Hardware defines and interfaces */
#include
<acpi/acutils.h>
/* Utility interfaces */
#include
"acutils.h"
/* Utility interfaces */
#endif
/* __ACPI_H__ */
#endif
/* __ACPI_H__ */
include/acpi/acpiosxf.h
View file @
031de3c8
...
@@ -95,7 +95,7 @@ acpi_os_get_root_pointer (
...
@@ -95,7 +95,7 @@ acpi_os_get_root_pointer (
acpi_status
acpi_status
acpi_os_predefined_override
(
acpi_os_predefined_override
(
const
struct
acpi_predefined_names
*
init_val
,
const
struct
acpi_predefined_names
*
init_val
,
acpi_string
*
new_val
);
acpi_string
*
new_val
);
acpi_status
acpi_status
acpi_os_table_override
(
acpi_os_table_override
(
...
...
include/acpi/acpixf.h
View file @
031de3c8
...
@@ -27,8 +27,8 @@
...
@@ -27,8 +27,8 @@
#ifndef __ACXFACE_H__
#ifndef __ACXFACE_H__
#define __ACXFACE_H__
#define __ACXFACE_H__
#include
<acpi/actypes.h>
#include
"actypes.h"
#include
<acpi/actbl.h>
#include
"actbl.h"
/*
/*
...
...
include/acpi/platform/acenv.h
View file @
031de3c8
...
@@ -98,7 +98,7 @@
...
@@ -98,7 +98,7 @@
/*! [Begin] no source code translation */
/*! [Begin] no source code translation */
#if defined(__linux__)
#if defined(__linux__)
#include
<acpi/platform/aclinux.h>
#include
"aclinux.h"
#elif defined(_AED_EFI)
#elif defined(_AED_EFI)
#include "acefi.h"
#include "acefi.h"
...
...
include/acpi/platform/aclinux.h
View file @
031de3c8
...
@@ -54,11 +54,11 @@
...
@@ -54,11 +54,11 @@
#include <unistd.h>
#include <unistd.h>
#if defined(__ia64__) || defined(__x86_64__)
#if defined(__ia64__) || defined(__x86_64__)
#define ACPI_MACHINE_WIDTH
64
#define ACPI_MACHINE_WIDTH
64
#define COMPILER_DEPENDENT_INT64 long
#define COMPILER_DEPENDENT_INT64 long
#define COMPILER_DEPENDENT_UINT64 unsigned long
#define COMPILER_DEPENDENT_UINT64 unsigned long
#else
#else
#define ACPI_MACHINE_WIDTH
32
#define ACPI_MACHINE_WIDTH
32
#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_INT64 long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long
#define COMPILER_DEPENDENT_UINT64 unsigned long long
#define ACPI_USE_NATIVE_DIVIDE
#define ACPI_USE_NATIVE_DIVIDE
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment