#5 buggy characters

release_0.4
closed-fixed
Misc (2)
5
2004-06-23
2004-06-22
Laurent Vivier
No

Some buggy characters can appears in hexadecimal numbers:

Early Macintosh Image LoadEr
EMILE v0.5CVS (c) 2004 Laurent Vivier
This is free software, redistribute it under GPL
Physical memory map:
0: 0x04000000 -> 0x04ff8000 mapped at 0x00000000˙˙˙p@§.
-> 0x00ff8000
1: 0x00050000 -> 0x01000000 mapped at 0x00ff8000 ->
0x01fa8000
2: 0x04ff8000 -> 0x05000000 mapped at 0x01fa8000 ->
0x01fb0000
vmlinux root=/dev/ramdisk ramdisk_size=2048
console=ttyS0,9600n8 console=tty0
Loading kernel...
Kernel image loaded at 0x16cc4
Kernel image size is 562176 Bytes
Available Memory: 32448 kB
Allocating 1314816 bytes for kernel
Uncompressing kernel to
0xa00d4.........................................
Loading RAMDISK...
RAMDISK loaded at 0x1e2130
RAMDISK size is 654848 Bytes

Physical address of kernel will be 0x04001000
Ok, booting the kernel.

Discussion

  • Laurent Vivier
    Laurent Vivier
    2004-06-23

    • status: open --> closed-fixed
     
  • Laurent Vivier
    Laurent Vivier
    2004-06-23

    Logged In: YES
    user_id=400005

    ksnprintn() returns a pointer to buffer on its stack.

    correction defines this variable as static to not overwrite
    its content on return.

    Corrected in second/printf.c;1.4