Implement SET. Set execption.s 1.12.
Submitted by: tmm
This commit is contained in:
parent
cb67f0018f
commit
bc40966754
@ -69,4 +69,16 @@ name ## :
|
||||
#define END(name) \
|
||||
.size name, . - name
|
||||
|
||||
/*
|
||||
* If the kernel can be located above 4G, setx needs to be used to load
|
||||
* symbol values, otherwise set is sufficient.
|
||||
*/
|
||||
#ifdef HIGH_KERNEL
|
||||
#define SET(sym, tmp, dst) \
|
||||
setx sym, tmp, dst
|
||||
#else
|
||||
#define SET(sym, tmp, dst) \
|
||||
set sym, dst
|
||||
#endif
|
||||
|
||||
#endif /* !_MACHINE_ASMACROS_H_ */
|
||||
|
Loading…
Reference in New Issue
Block a user