summaryrefslogtreecommitdiff
path: root/nuttx/arch/x86/src/qemu/qemu_head.S
diff options
context:
space:
mode:
Diffstat (limited to 'nuttx/arch/x86/src/qemu/qemu_head.S')
-rwxr-xr-xnuttx/arch/x86/src/qemu/qemu_head.S10
1 files changed, 9 insertions, 1 deletions
diff --git a/nuttx/arch/x86/src/qemu/qemu_head.S b/nuttx/arch/x86/src/qemu/qemu_head.S
index 4840b9135..096705f46 100755
--- a/nuttx/arch/x86/src/qemu/qemu_head.S
+++ b/nuttx/arch/x86/src/qemu/qemu_head.S
@@ -161,17 +161,25 @@ g_heapbase:
.type __start, @function
__start:
/* Set up the stack */
-
+ mov $'a', %ax
+ mov $0x3f8, %dx
+ outb %al, %dx
mov $(idle_stack + CONFIG_IDLETHREAD_STACKSIZE), %esp
/* Multiboot setup */
push %eax /* Multiboot magic number */
push %ebx /* Multiboot data structure */
+ mov $'b', %ax
+ mov $0x3f8, %dx
+ outb %al, %dx
/* Initialize and start NuttX */
call up_lowsetup /* Low-level, pre-OS initialization */
+ mov $'c', %ax
+ mov $0x3f8, %dx
+ outb %al, %dx
call os_start /* Start NuttX */
/* NuttX will not return */