Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
OS
U-Boot.Mirror
提交
cabe5794
U
U-Boot.Mirror
项目概览
OS
/
U-Boot.Mirror
通知
1
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
DevOps
流水线
流水线任务
计划
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
U
U-Boot.Mirror
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
DevOps
DevOps
流水线
流水线任务
计划
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
流水线任务
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
cabe5794
编写于
11月 24, 2009
作者:
G
Graeme Russ
提交者:
Wolfgang Denk
12月 05, 2009
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
i386: Move references to link script exports
Signed-off-by:
N
Graeme Russ
<
graeme.russ@gmail.com
>
上级
0fc1b49e
变更
4
隐藏空白更改
内联
并排
Showing
4 changed file
with
11 addition
and
17 deletion
+11
-17
include/asm-i386/u-boot-i386.h
include/asm-i386/u-boot-i386.h
+0
-6
lib_i386/bios_setup.c
lib_i386/bios_setup.c
+6
-0
lib_i386/board.c
lib_i386/board.c
+0
-11
lib_i386/realmode.c
lib_i386/realmode.c
+5
-0
未找到文件。
include/asm-i386/u-boot-i386.h
浏览文件 @
cabe5794
...
...
@@ -35,12 +35,6 @@ extern ulong i386boot_bss_size; /* bss size */
extern
ulong
i386boot_stack_end
;
/* first usable RAM address after bss and stack */
extern
ulong
i386boot_ram_end
;
/* end of ram */
extern
ulong
i386boot_realmode
;
/* start of realmode entry code */
extern
ulong
i386boot_realmode_size
;
/* size of realmode entry code */
extern
ulong
i386boot_bios
;
/* start of BIOS emulation code */
extern
ulong
i386boot_bios_size
;
/* size of BIOS emulation code */
/* cpu/.../cpu.c */
int
cpu_init
(
void
);
...
...
lib_i386/bios_setup.c
浏览文件 @
cabe5794
...
...
@@ -45,6 +45,9 @@ DECLARE_GLOBAL_DATA_PTR;
#define BIOS_BASE ((char*)0xf0000)
#define BIOS_CS 0xf000
extern
ulong
_i386boot_bios
;
extern
ulong
_i386boot_bios_size
;
/* these are defined in a 16bit segment and needs
* to be accessed with the RELOC_16_xxxx() macros below
*/
...
...
@@ -138,6 +141,9 @@ static void setvector(int vector, u16 segment, void *handler)
int
bios_setup
(
void
)
{
ulong
i386boot_bios
=
(
ulong
)
&
_i386boot_bios
;
ulong
i386boot_bios_size
=
(
ulong
)
&
_i386boot_bios_size
;
static
int
done
=
0
;
int
vector
;
#ifdef CONFIG_PCI
...
...
lib_i386/board.c
浏览文件 @
cabe5794
...
...
@@ -53,11 +53,6 @@ extern long _i386boot_romdata_size;
extern
long
_i386boot_bss_start
;
extern
long
_i386boot_bss_size
;
extern
long
_i386boot_realmode
;
extern
long
_i386boot_realmode_size
;
extern
long
_i386boot_bios
;
extern
long
_i386boot_bios_size
;
/* The symbols defined by the linker script becomes pointers
* which is somewhat inconveient ... */
ulong
i386boot_start
=
(
ulong
)
&
_i386boot_start
;
/* code start (in flash) defined in start.S */
...
...
@@ -68,12 +63,6 @@ ulong i386boot_romdata_size = (ulong)&_i386boot_romdata_size; /* size of data
ulong
i386boot_bss_start
=
(
ulong
)
&
_i386boot_bss_start
;
/* bss start */
ulong
i386boot_bss_size
=
(
ulong
)
&
_i386boot_bss_size
;
/* bss size */
ulong
i386boot_realmode
=
(
ulong
)
&
_i386boot_realmode
;
/* start of realmode entry code */
ulong
i386boot_realmode_size
=
(
ulong
)
&
_i386boot_realmode_size
;
/* size of realmode entry code */
ulong
i386boot_bios
=
(
ulong
)
&
_i386boot_bios
;
/* start of BIOS emulation code */
ulong
i386boot_bios_size
=
(
ulong
)
&
_i386boot_bios_size
;
/* size of BIOS emulation code */
const
char
version_string
[]
=
U_BOOT_VERSION
" ("
U_BOOT_DATE
" - "
U_BOOT_TIME
")"
;
...
...
lib_i386/realmode.c
浏览文件 @
cabe5794
...
...
@@ -31,10 +31,15 @@
#define REALMODE_MAILBOX ((char*)0xe00)
extern
ulong
_i386boot_realmode
;
extern
ulong
_i386boot_realmode_size
;
extern
char
realmode_enter
;
int
realmode_setup
(
void
)
{
ulong
i386boot_realmode
=
(
ulong
)
&
_i386boot_realmode
;
ulong
i386boot_realmode_size
=
(
ulong
)
&
_i386boot_realmode_size
;
/* copy the realmode switch code */
if
(
i386boot_realmode_size
>
(
REALMODE_MAILBOX
-
REALMODE_BASE
))
{
printf
(
"realmode switch too large (%ld bytes, max is %d)
\n
"
,
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录