mirror of
https://github.com/xcat2/xNBA.git
synced 2024-12-14 07:11:32 +00:00
Use _text, rather than assuming _text==0.
This commit is contained in:
parent
f547f148d3
commit
ece4ff929e
@ -33,8 +33,11 @@
|
||||
/** Equivalent of NOWHERE for user pointers */
|
||||
#define UNOWHERE ( ~UNULL )
|
||||
|
||||
/** Start of Etherboot text, as defined by the linker */
|
||||
extern char _text[];
|
||||
|
||||
/** Top of allocatable memory */
|
||||
#define TOP ( virt_to_user ( NULL ) )
|
||||
#define TOP ( virt_to_user ( _text ) )
|
||||
|
||||
/** An external memory block */
|
||||
struct external_memory {
|
||||
|
Loading…
Reference in New Issue
Block a user