mirror of
https://git.FreeBSD.org/src.git
synced 2025-02-04 17:15:50 +00:00
Grrr, fix a silly 'movl' -> 'movw' typo in both pxeldr and cdldr. Also,
remove unnecessary cruft from the Makefiles for both.
This commit is contained in:
parent
af54a4fe47
commit
a1a611ed6b
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=60823
@ -32,9 +32,6 @@ ${LDR}: ${LDR}.o
|
||||
objcopy -S -O binary ${LDR}.out ${.TARGET}
|
||||
.endif
|
||||
|
||||
${LDR}.o: ${.CURDIR}/${LDR}.s
|
||||
${AS} ${AFLAGS} -o ${.TARGET} ${.CURDIR}/${LDR}.s
|
||||
|
||||
CLEANFILES+= ${LDR} ${LDR}.out ${LDR}.o ${BOOT}.tmp
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -87,7 +87,7 @@ start: cld # string ops inc
|
||||
#
|
||||
movw $bootinfo_msg, %si # %ds:(%si) -> boot args message
|
||||
callw putstr # display the message
|
||||
movl $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw %bx, %di # %es:(%di) -> boot args
|
||||
xorl %eax, %eax # zero %eax
|
||||
movw $(MEM_ARG_SIZE/4), %cx # Size of arguments in 32-bit
|
||||
|
@ -32,9 +32,6 @@ ${LDR}: ${LDR}.o
|
||||
objcopy -S -O binary ${LDR}.out ${.TARGET}
|
||||
.endif
|
||||
|
||||
${LDR}.o: ${.CURDIR}/${LDR}.s
|
||||
${AS} ${AFLAGS} -o ${.TARGET} ${.CURDIR}/${LDR}.s
|
||||
|
||||
CLEANFILES+= ${LDR} ${LDR}.out ${LDR}.o ${BOOT}.tmp
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -87,7 +87,7 @@ start: cld # string ops inc
|
||||
#
|
||||
movw $bootinfo_msg, %si # %ds:(%si) -> boot args message
|
||||
callw putstr # display the message
|
||||
movl $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw %bx, %di # %es:(%di) -> boot args
|
||||
xorl %eax, %eax # zero %eax
|
||||
movw $(MEM_ARG_SIZE/4), %cx # Size of arguments in 32-bit
|
||||
|
@ -33,9 +33,6 @@ ${LDR}: ${LDR}.o
|
||||
objcopy -S -O binary ${LDR}.out ${.TARGET}
|
||||
.endif
|
||||
|
||||
${LDR}.o: ${.CURDIR}/${LDR}.s
|
||||
${AS} ${AFLAGS} -o ${.TARGET} ${.CURDIR}/${LDR}.s
|
||||
|
||||
CLEANFILES+= ${LDR} ${LDR}.out ${LDR}.o ${BOOT}.tmp
|
||||
|
||||
.include <bsd.prog.mk>
|
||||
|
@ -91,7 +91,7 @@ start: cld # string ops inc
|
||||
#
|
||||
movw $bootinfo_msg, %si # %ds:(%si) -> boot args message
|
||||
callw putstr # display the message
|
||||
movl $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw %bx, %di # %es:(%di) -> boot args
|
||||
xorl %eax, %eax # zero %eax
|
||||
movw $(MEM_ARG_SIZE/4), %cx # Size of arguments in 32-bit
|
||||
|
@ -91,7 +91,7 @@ start: cld # string ops inc
|
||||
#
|
||||
movw $bootinfo_msg, %si # %ds:(%si) -> boot args message
|
||||
callw putstr # display the message
|
||||
movl $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw $MEM_ARG, %bx # %ds:(%bx) -> boot args
|
||||
movw %bx, %di # %es:(%di) -> boot args
|
||||
xorl %eax, %eax # zero %eax
|
||||
movw $(MEM_ARG_SIZE/4), %cx # Size of arguments in 32-bit
|
||||
|
Loading…
x
Reference in New Issue
Block a user