mirror of
https://git.FreeBSD.org/src.git
synced 2024-12-24 11:29:10 +00:00
Simplify a macro not to generate unncessary symbols.
This commit is contained in:
parent
402ea18cbd
commit
93eba8807c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=200280
@ -34,20 +34,7 @@
|
||||
#include "acpi_wakedata.h"
|
||||
#include "assym.s"
|
||||
|
||||
#define WAKEUP_DECL(member) \
|
||||
.set WAKEUP_ ## member, wakeup_ ## member - wakeup_ctx
|
||||
|
||||
WAKEUP_DECL(xpcb)
|
||||
WAKEUP_DECL(gdt)
|
||||
WAKEUP_DECL(efer)
|
||||
WAKEUP_DECL(pat)
|
||||
WAKEUP_DECL(star)
|
||||
WAKEUP_DECL(lstar)
|
||||
WAKEUP_DECL(cstar)
|
||||
WAKEUP_DECL(sfmask)
|
||||
WAKEUP_DECL(cpu)
|
||||
|
||||
#define WAKEUP_CTX(member) WAKEUP_ ## member (%rdi)
|
||||
#define WAKEUP_CTX(member) wakeup_ ## member - wakeup_ctx(%rdi)
|
||||
#define WAKEUP_PCB(member) PCB_ ## member(%r11)
|
||||
#define WAKEUP_XPCB(member) XPCB_ ## member(%r11)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user