Current Path : /sys/amd64/compile/hs32/modules/usr/src/sys/modules/usb/urtw/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ip_input/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/uslcom/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/gif/@/boot/pc98/btx/lib/ |
FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64 |
Current File : //sys/amd64/compile/hs32/modules/usr/src/sys/modules/usb/urtw/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/ip_input/@/amd64/compile/hs32/modules/usr/src/sys/modules/usb/uslcom/@/amd64/compile/hs32/modules/usr/src/sys/modules/netgraph/gif/@/boot/pc98/btx/lib/btxcsu.S |
# # Copyright (c) 1998 Robert Nordier # All rights reserved. # # Redistribution and use in source and binary forms are freely # permitted provided that the above copyright notice and this # paragraph and the following disclaimer are duplicated in all # such forms. # # This software is provided "AS IS" and without any express or # implied warranties, including, without limitation, the implied # warranties of merchantability and fitness for a particular # purpose. # # $FreeBSD: release/9.1.0/sys/boot/pc98/btx/lib/btxcsu.S 237763 2012-06-29 10:12:18Z avg $ # # BTX C startup code (ELF). # #include <bootargs.h> # # Globals. # .global _start # # Client entry point. # _start: cld pushl %eax movl $_edata,%edi movl $_end,%ecx subl %edi, %ecx xorb %al, %al rep stosb popl __base movl %esp,%eax # Set addl $ARGADJ,%eax # argument movl %eax,__args # pointer call main # Invoke client main() call exit # Invoke client exit() # # Data. # .comm __base,4 # Client base address .comm __args,4 # Client arguments