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
Kirill Smelkov
linux
Commits
e2e6ee06
Commit
e2e6ee06
authored
Oct 22, 2004
by
Len Brown
Committed by
Len Brown
Oct 22, 2004
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[ACPI] place-holder for ACPI 3.0 acpi_os_get_timer()
parent
de524f14
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
23 additions
and
0 deletions
+23
-0
drivers/acpi/osl.c
drivers/acpi/osl.c
+23
-0
No files found.
drivers/acpi/osl.c
View file @
e2e6ee06
...
@@ -326,6 +326,29 @@ acpi_os_stall(u32 us)
...
@@ -326,6 +326,29 @@ acpi_os_stall(u32 us)
}
}
}
}
/*
* Support ACPI 3.0 AML Timer operand
* Returns 64-bit free-running, monotonically increasing timer
* with 100ns granularity
*/
u64
acpi_os_get_timer
(
void
)
{
static
u64
t
;
#ifdef CONFIG_HPET
/* TBD: use HPET if available */
#endif
#ifdef CONFIG_X86_PM_TIMER
/* TBD: default to PM timer if HPET was not available */
#endif
if
(
!
t
)
printk
(
KERN_ERR
PREFIX
"acpi_os_get_timer() TBD
\n
"
);
return
(
++
t
);
}
acpi_status
acpi_status
acpi_os_read_port
(
acpi_os_read_port
(
acpi_io_address
port
,
acpi_io_address
port
,
...
...
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