diff options
author | Bin Meng <bmeng.cn@gmail.com> | 2018-04-11 22:02:22 -0700 |
---|---|---|
committer | Bin Meng <bmeng.cn@gmail.com> | 2018-04-16 22:38:53 +0800 |
commit | 79c584e5595458d58dc1cf47172abcb3748574f4 (patch) | |
tree | 69eaf0c7013038cc6f2b47ba6d7f512623815351 /include/vxworks.h | |
parent | ced71a2f72e296d08d87ec377ea91e9c48b528d6 (diff) |
bootvx: x86: Assign bootaddr based on kernel memory base
On VxWorks x86 its bootline address is at a pre-defined offset @
0x1200. If 'bootaddr' is not passed via environment variable, we
assign its value based on the kernel memory base address.
Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Diffstat (limited to 'include/vxworks.h')
-rw-r--r-- | include/vxworks.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/vxworks.h b/include/vxworks.h index b1b5096b90..39f0a444a2 100644 --- a/include/vxworks.h +++ b/include/vxworks.h @@ -16,6 +16,9 @@ */ #define VXWORKS_PHYS_MEM_BASE 0x100000 +/* x86 bootline offset relative to LOCAL_MEM_LOCAL_ADRS in VxWorks */ +#define X86_BOOT_LINE_OFFSET 0x1200 + /* * VxWorks x86 E820 related stuff * |