diff --git a/linux/Image b/linux/Image index 672d4c9..f98c727 100644 Binary files a/linux/Image and b/linux/Image differ diff --git a/linux/System.map b/linux/System.map index 2687f12..db383ba 100644 --- a/linux/System.map +++ b/linux/System.map @@ -111,481 +111,481 @@ 00009036 t put_fs_long 00009042 T sys_getcwd 000094e6 T sys_getdents -00009777 T sys_pipe2 -0000977d T sys_sleep -00009833 T sys_mmap -00009839 T sys_munmap -0000983f T sys_clone -00009845 T sys_ftime -0000984b T sys_break -00009851 T sys_ptrace -00009857 T sys_stty -0000985d T sys_gtty -00009863 T sys_rename -00009869 T sys_prof -0000986f T sys_setregid -00009928 T sys_setgid -000099bf T sys_acct -000099c5 T sys_phys -000099cb T sys_lock -000099d1 T sys_mpx -000099d7 T sys_ulimit -000099dd T sys_time -00009a39 T sys_setreuid -00009b1b T sys_setuid -00009bb0 T sys_stime -00009c06 T sys_times -00009ca6 T sys_brk -00009ce8 T sys_setpgid -00009dc1 T sys_getpgrp -00009dcd T sys_setsid -00009e47 T sys_getgroups -00009e4d T sys_setgroups -00009e53 T sys_uname -00009ebc T sys_sethostname -00009ec2 T sys_getrlimit -00009ec8 T sys_setrlimit -00009ece T sys_getrusage -00009ed4 T sys_gettimeofday -00009eda T sys_settimeofday -00009ee0 T sys_umask -00009f13 t _get_base -00009f45 t put_fs_long -00009f51 T release -00009fb5 t send_sig -0000a034 t kill_session -0000a08e T sys_kill -0000a23e t tell_father -0000a2c8 T do_exit -0000a4fc T sys_exit -0000a515 T sys_waitpid -0000a73b t get_fs_byte -0000a749 t put_fs_byte -0000a761 t put_fs_long -0000a76d T sys_sgetmask -0000a779 T sys_ssetmask -0000a7a5 T sys_sigpending -0000a7ab T sys_sigsuspend -0000a7b1 t save_old -0000a804 t get_new -0000a844 T sys_signal -0000a8c8 T sys_sigaction -0000a9d2 T do_signal -0000abbe T kernel_mktime -0000ad03 t oom -0000ad22 T get_free_page -0000ad5e T free_page -0000adcd T free_page_tables -0000aecc T copy_page_tables -0000b04d T put_page -0000b139 T un_wp_page -0000b1f1 T do_wp_page -0000b27c T get_empty_page -0000b2bc t try_to_share -0000b44e t share_page -0000b502 T do_no_page -0000b664 T mem_init -0000b6d8 T do_execve2 -0000b852 T calc_mem -0000b947 T page_fault -0000b97e t get_fs_long -0000b994 T sys_ustat -0000b99a T sys_utime -0000ba47 T sys_access -0000bb23 T sys_chdir -0000bb97 T sys_chroot -0000bc0b T sys_chmod -0000bca5 T sys_chown -0000bd20 T sys_open -0000bfc3 T sys_creat -0000bfe6 T sys_close -0000c0b5 T sys_lseek -0000c1cc T sys_read -0000c3bf T sys_write -0000c56d t lock_inode -0000c59a t unlock_inode -0000c5b8 T invalidate_inodes -0000c627 T sync_inodes -0000c67e t _bmap -0000ca6a T bmap -0000ca8d T create_block -0000cab0 T iput -0000cc1f T get_empty_inode -0000cd74 T get_pipe_inode -0000cde9 T iget -0000cfae t read_inode -0000d1e4 T sys_sync -0000d247 T sync_dev -0000d340 T invalidate_buffers -0000d3b2 T check_disk_change -0000d45c t remove_from_queues -0000d553 t insert_into_queues -0000d618 t find_buffer -0000d680 T get_hash_table -0000d702 T getblk -0000d8a0 T brelse -0000d8e9 T bread -0000d96e T bread_page -0000da90 T breada -0000db85 T buffer_init -0000dcb4 t lock_super -0000dce1 t free_super -0000dd26 T get_super -0000dd95 T put_super -0000de68 t read_super -0000e1ab T sys_umount -0000e30c T sys_mount -0000e47d T mount_root -0000e68b t get_fs_byte -0000e699 t put_fs_byte -0000e6b1 T block_write -0000e803 T block_read -0000e92e t get_fs_byte -0000e93c t put_fs_byte -0000e954 t rw_ttyx -0000e99c t rw_tty -0000e9ec t rw_ram -0000e9f2 t rw_mem -0000e9f8 t rw_kmem -0000e9fe t rw_port -0000ea98 t rw_memory -0000eb6e T rw_char -0000ebd8 t get_fs_byte -0000ebe6 t put_fs_byte -0000ebfe T file_read -0000eda9 T file_write -0000efa3 t put_fs_byte -0000efbb t cp_stat -0000f092 T sys_stat -0000f0dc T sys_lstat -0000f0f7 T sys_fstat -0000f154 T sys_readlink -0000f15a t _get_base -0000f18c t get_fs_byte -0000f19a t get_fs_long -0000f1b0 t put_fs_byte -0000f1c8 t put_fs_long -0000f1d4 t get_fs -0000f1e8 t get_ds -0000f1fc t set_fs -0000f203 T sys_uselib -0000f209 t create_tables -0000f354 t count -0000f393 t copy_strings -0000f54f t change_ldt -0000f6d2 T do_execve -000101f7 t get_fs_byte -00010205 t put_fs_byte -0001021d t put_fs_long -00010229 T read_pipe -000104fe T sys_pipe -00010700 t get_fs_byte -0001070e t permission -000107af t match -00010817 t find_entry -00010c71 t get_dir -00010e5e t dir_namei -00010edd T namei -00010ff3 T open_namei -00011346 T sys_mknod -00011576 T sys_mkdir -00011927 t empty_dir -00011b05 T sys_rmdir -00011e5d T sys_unlink -000120fe T sys_symlink -00012104 T sys_link -0001235e T free_block -000124d0 T new_block -00012674 T free_inode -000127db T new_inode -000129b5 t dupfd -00012a8f T sys_dup2 -00012ab6 T sys_dup -00012ad1 T sys_fcntl -00012c10 T sys_ioctl -00012ce1 t free_ind -00012d80 t free_dind -00012e1f T truncate -00012f54 T sys_select -00012f5a t lock_buffer -00012f87 t unlock_buffer -00013179 t make_request -0001331d T ll_rw_block -00013376 T blk_dev_init -000133c4 t unlock_buffer -000133f9 t end_request -000134aa T floppy_deselect -000134e1 T floppy_change -00013567 t setup_DMA -0001361d t output_byte -00013693 t result -00013750 t bad_flp_intr -000137af t rw_interrupt -0001389e T setup_rw_floppy -0001395f t seek_interrupt -000139b8 t transfer -00013aed t recal_interrupt -00013b37 T unexpected_floppy_interrupt -00013b7c t recalibrate_floppy -00013bde t reset_interrupt -00013c23 t reset_floppy -00013ca0 t floppy_on_interrupt -00013d0b t do_fd_request -00013f0f T floppy_init -00013f61 t unlock_buffer -00013f96 t end_request -00014035 T sys_setup -000143e8 t controller_ready -0001447c t hd_out -00014569 t drive_busy -000145cf t reset_controller -0001464c t reset_hd -000146e4 T unexpected_hd_interrupt -000146f7 t bad_rw_intr -00014735 t read_intr -0001485b t recal_intr -00014875 t do_hd_request -00014b76 T hd_init -00014bf0 t unlock_buffer -00014c25 t end_request -00014cc4 t do_rd_request -00014dfa T rd_init -00014e50 T rd_load -000150fc t get_fs_byte -0001510a t put_fs_byte -00015122 T tty_init -00015133 T tty_intr -000151a7 t sleep_if_empty -000151df t sleep_if_full -00015253 T copy_to_cooked -0001580e T tty_read -00015b7c T tty_write -00015d8e T do_tty_interrupt -00015db6 T chr_dev_init -00015db7 t gotoxy -00015e05 t set_origin -00015e6b t scrup -0001605b t scrdown -00016152 t lf -00016188 t ri -000161be t cr -000161df t del -00016211 t csi_J -000162a2 t csi_K -00016354 T csi_m -000163bb t set_cursor -00016421 t respond -00016479 t insert_char -000164dc t insert_line -00016520 t delete_char -0001657e t delete_line -000165c2 t csi_at -00016600 t csi_L -0001663e t csi_P -0001667c t csi_M -000166ba t save_cur -000166cf t restore_cur -000166ee T con_write -00016d7c T con_init -00016fb3 T sysbeepstop -00016fdc t sysbeep -0001703a t mode -0001703b t leds -0001703c t e0 -0001703d T keyboard_interrupt -00017066 t e0_e1 -00017091 t set_e0 -0001709a t set_e1 -000170a3 t put_queue -000170dc t ctrl -000170f4 t unctrl -000170f8 t unalt -0001710e t lshift -00017116 t unlshift -0001711e t rshift -00017126 t unrshift -0001712e t caps -00017150 t set_leds -00017166 t uncaps -0001716e t scroll -00017177 t num -00017180 t cursor -000171a0 t cur2 -000171c9 t cur -000171d5 t ok_cur -000171e3 t num_table -000171f0 t cur_table -000171fd t func -0001721a t ok_func -0001722d t end_func -0001722e t func_table -0001725e t key_map -000172bf t shift_map -00017381 t do_self -000173e9 t none -000173ea t minus -000173ff t key_table -000177ff t kb_wait -00017808 t reboot -0001781a t die -0001781c t init -00017891 T rs_init -00017914 T rs_write -00017964 T rs1_interrupt -0001796c T rs2_interrupt -00017971 t rs_int -00017988 t rep_int -000179a5 t end -000179b3 t jmp_table -000179c4 t modem_status -000179cc t line_status -000179d4 t read_char -00017a5b t get_fs_byte -00017a69 t get_fs_long -00017a7f t put_fs_byte -00017a97 t put_fs_long -00017aa3 t change_speed -00017b21 t flush -00017b33 t send_break -00017b34 t get_termios -00017b90 t set_termios -00017be0 t get_termio -00017ca8 t set_termio -00017d6c T tty_ioctl -0001806a t get_fs_byte -00018078 T math_emulate -0001815b T math_error -0001817b T _exit -0001818b T open -000181d4 T close -00018248 T dup -0001827f T setsid -000182ae T execve -0001834b T strcpy -00018367 T strncpy -0001838c T strcat -000183b7 T strncat -000183ec T strcmp -00018413 T strncmp -00018441 T strchr -0001846e T strrchr -0001849d T strspn -000184da T strcspn -00018517 T strpbrk -0001854e T strstr -00018587 T strlen -000185aa T strtok -0001862d T memcpy -0001864d T memmove -000186a1 T memcmp -000186cb T memchr -00018703 T memset -00018727 t init_bucket_desc -00018790 T malloc -0001891c T free_s -0001cb48 d envp_rc -0001cb5c d envp -0001cb80 D sys_call_table -0001ccfc D NR_syscalls -0001cd00 d init_task -0001dd00 D current -0001dd20 D task -0001de20 D stack_start -0001de28 D current_DOR -0001de40 d thisname.2345 -0001de80 d month -0001dec0 d last_inode.1935 -0001dec4 D start_buffer -0001dee0 d crw_table -0001df00 d ioctl_table -0001df20 d floppy_type -0001dfe0 d cur_spec1 -0001dfe4 d cur_rate -0001dfe8 d floppy -0001dfec d current_track -0001dff0 d callable.1844 -0001e000 D tty_table -00020520 D table_list -00020540 d quotient -00020560 D _ctype -00020680 D bucket_dir -000206d0 B __bss_start -000206d0 D _edata -000206e0 b printbuf -00020ae0 b memory_end -00020ae4 b buffer_memory_end -00020ae8 b main_memory_start -00020b00 B jiffies -00020b04 B startup_time -00020b08 B last_task_used_math -00020b1c b mon_timer -00020b2c b moff_timer -00020b40 b timer_list -00020e40 b next_timer -00020e44 B last_pid -00020e60 b buf -00021260 b HIGH_MEMORY -00021280 b mem_map -00022180 B inode_table -00022880 B nr_buffers -00022884 b free_list -00022888 b buffer_wait -0002288c B ROOT_DEV -000228c0 B blk_dev -000228f8 B do_floppy -000228fc B selected -00022904 b recalibrate -00022908 b reset -0002290c b seek -00022910 b reply_buffer -00022917 b current_drive -00022918 b sector -00022919 b head -0002291a b track -0002291b b seek_track -0002291c b command -00022920 B do_hd -00022940 B hd_info -00022970 b recalibrate -00022974 b reset -00022978 b NR_HD -00022980 b hd -000229d0 B rd_length -000229d4 b cr_flag.1923 -000229e0 B beepcount -000229e4 b video_type -000229e8 b video_num_columns -000229ec b video_size_row -000229f0 b video_num_lines -000229f4 b video_page -000229f8 b video_mem_start -000229fc b video_mem_end -00022a00 b video_port_reg -00022a02 b video_port_val -00022a04 b video_erase_char -00022a08 b origin -00022a0c b scr_end -00022a10 b pos -00022a14 b x -00022a18 b y -00022a1c b top -00022a20 b bottom -00022a24 b state -00022a28 b npar -00022a40 b par -00022a80 b ques -00022a84 b saved_x -00022a88 b saved_y -00022a8c B free_bucket_desc -00022aa0 B drive_info -00022ac0 B user_stack -00023ac0 B hash_table -00023fa0 B super_block -00024300 B file_table -00024700 B request -00024b80 B rd_start -00024b84 B _ctmp -00024b88 B errno -00024b8c B ___strtok -00024b90 B end -00024b90 B _end +00009761 T sys_pipe2 +00009767 T sys_sleep +0000981d T sys_clone +00009823 T sys_ftime +00009829 T sys_break +0000982f T sys_ptrace +00009835 T sys_stty +0000983b T sys_gtty +00009841 T sys_rename +00009847 T sys_prof +0000984d T sys_setregid +00009906 T sys_setgid +0000999d T sys_acct +000099a3 T sys_phys +000099a9 T sys_lock +000099af T sys_mpx +000099b5 T sys_ulimit +000099bb T sys_time +00009a17 T sys_setreuid +00009af9 T sys_setuid +00009b8e T sys_stime +00009be4 T sys_times +00009c84 T sys_brk +00009cc6 T sys_setpgid +00009d9f T sys_getpgrp +00009dab T sys_setsid +00009e25 T sys_getgroups +00009e2b T sys_setgroups +00009e31 T sys_uname +00009e9a T sys_sethostname +00009ea0 T sys_getrlimit +00009ea6 T sys_setrlimit +00009eac T sys_getrusage +00009eb2 T sys_gettimeofday +00009eb8 T sys_settimeofday +00009ebe T sys_umask +00009ef1 T sys_mmap +0000a1b6 T sys_munmap +0000a1bc t _get_base +0000a1ee t put_fs_long +0000a1fa T release +0000a25e t send_sig +0000a2dd t kill_session +0000a337 T sys_kill +0000a4e7 t tell_father +0000a571 T do_exit +0000a7a5 T sys_exit +0000a7be T sys_waitpid +0000a9e4 t get_fs_byte +0000a9f2 t put_fs_byte +0000aa0a t put_fs_long +0000aa16 T sys_sgetmask +0000aa22 T sys_ssetmask +0000aa4e T sys_sigpending +0000aa54 T sys_sigsuspend +0000aa5a t save_old +0000aaad t get_new +0000aaed T sys_signal +0000ab71 T sys_sigaction +0000ac7b T do_signal +0000ae67 T kernel_mktime +0000afac t oom +0000afcb T get_free_page +0000b007 T free_page +0000b076 T free_page_tables +0000b175 T copy_page_tables +0000b2f6 T put_page +0000b3e2 T un_wp_page +0000b49a T do_wp_page +0000b525 T get_empty_page +0000b565 t try_to_share +0000b6f7 t share_page +0000b7ab T do_no_page +0000b940 T mem_init +0000b9b4 T do_execve2 +0000bb2e T calc_mem +0000bc23 T page_fault +0000bc5a t get_fs_long +0000bc70 T sys_ustat +0000bc76 T sys_utime +0000bd23 T sys_access +0000bdff T sys_chdir +0000be73 T sys_chroot +0000bee7 T sys_chmod +0000bf81 T sys_chown +0000bffc T sys_open +0000c29f T sys_creat +0000c2c2 T sys_close +0000c391 T sys_lseek +0000c4a8 T sys_read +0000c69b T sys_write +0000c849 t lock_inode +0000c876 t unlock_inode +0000c894 T invalidate_inodes +0000c903 T sync_inodes +0000c95a t _bmap +0000cd46 T bmap +0000cd69 T create_block +0000cd8c T iput +0000cefb T get_empty_inode +0000d050 T get_pipe_inode +0000d0c5 T iget +0000d28a t read_inode +0000d4c0 T sys_sync +0000d523 T sync_dev +0000d61c T invalidate_buffers +0000d68e T check_disk_change +0000d738 t remove_from_queues +0000d82f t insert_into_queues +0000d8f4 t find_buffer +0000d95c T get_hash_table +0000d9de T getblk +0000db7c T brelse +0000dbc5 T bread +0000dc4a T bread_page +0000dd6c T breada +0000de61 T buffer_init +0000df90 t lock_super +0000dfbd t free_super +0000e002 T get_super +0000e071 T put_super +0000e144 t read_super +0000e487 T sys_umount +0000e5e8 T sys_mount +0000e759 T mount_root +0000e967 t get_fs_byte +0000e975 t put_fs_byte +0000e98d T block_write +0000eadf T block_read +0000ec0a t get_fs_byte +0000ec18 t put_fs_byte +0000ec30 t rw_ttyx +0000ec78 t rw_tty +0000ecc8 t rw_ram +0000ecce t rw_mem +0000ecd4 t rw_kmem +0000ecda t rw_port +0000ed74 t rw_memory +0000ee4a T rw_char +0000eeb4 t get_fs_byte +0000eec2 t put_fs_byte +0000eeda T file_read +0000f085 T file_write +0000f27f t put_fs_byte +0000f297 t cp_stat +0000f36e T sys_stat +0000f3b8 T sys_lstat +0000f3d3 T sys_fstat +0000f430 T sys_readlink +0000f436 t _get_base +0000f468 t get_fs_byte +0000f476 t get_fs_long +0000f48c t put_fs_byte +0000f4a4 t put_fs_long +0000f4b0 t get_fs +0000f4c4 t get_ds +0000f4d8 t set_fs +0000f4df T sys_uselib +0000f4e5 t create_tables +0000f630 t count +0000f66f t copy_strings +0000f82b t change_ldt +0000f9ae T do_execve +000104d3 t get_fs_byte +000104e1 t put_fs_byte +000104f9 t put_fs_long +00010505 T read_pipe +000107da T sys_pipe +000109dc t get_fs_byte +000109ea t permission +00010a8b t match +00010af3 t find_entry +00010f4d t get_dir +0001113a t dir_namei +000111b9 T namei +000112cf T open_namei +00011622 T sys_mknod +00011852 T sys_mkdir +00011c03 t empty_dir +00011de1 T sys_rmdir +00012139 T sys_unlink +000123da T sys_symlink +000123e0 T sys_link +0001263a T free_block +000127ac T new_block +00012950 T free_inode +00012ab7 T new_inode +00012c91 t dupfd +00012d6b T sys_dup2 +00012d92 T sys_dup +00012dad T sys_fcntl +00012eec T sys_ioctl +00012fbd t free_ind +0001305c t free_dind +000130fb T truncate +00013230 T sys_select +00013236 t lock_buffer +00013263 t unlock_buffer +00013455 t make_request +000135f9 T ll_rw_block +00013652 T blk_dev_init +000136a0 t unlock_buffer +000136d5 t end_request +00013786 T floppy_deselect +000137bd T floppy_change +00013843 t setup_DMA +000138f9 t output_byte +0001396f t result +00013a2c t bad_flp_intr +00013a8b t rw_interrupt +00013b7a T setup_rw_floppy +00013c3b t seek_interrupt +00013c94 t transfer +00013dc9 t recal_interrupt +00013e13 T unexpected_floppy_interrupt +00013e58 t recalibrate_floppy +00013eba t reset_interrupt +00013eff t reset_floppy +00013f7c t floppy_on_interrupt +00013fe7 t do_fd_request +000141eb T floppy_init +0001423d t unlock_buffer +00014272 t end_request +00014311 T sys_setup +000146c4 t controller_ready +00014758 t hd_out +00014845 t drive_busy +000148ab t reset_controller +00014928 t reset_hd +000149c0 T unexpected_hd_interrupt +000149d3 t bad_rw_intr +00014a11 t read_intr +00014b37 t recal_intr +00014b51 t do_hd_request +00014e52 T hd_init +00014ecc t unlock_buffer +00014f01 t end_request +00014fa0 t do_rd_request +000150d6 T rd_init +0001512c T rd_load +000153d8 t get_fs_byte +000153e6 t put_fs_byte +000153fe T tty_init +0001540f T tty_intr +00015483 t sleep_if_empty +000154bb t sleep_if_full +0001552f T copy_to_cooked +00015aea T tty_read +00015e58 T tty_write +0001606a T do_tty_interrupt +00016092 T chr_dev_init +00016093 t gotoxy +000160e1 t set_origin +00016147 t scrup +00016337 t scrdown +0001642e t lf +00016464 t ri +0001649a t cr +000164bb t del +000164ed t csi_J +0001657e t csi_K +00016630 T csi_m +00016697 t set_cursor +000166fd t respond +00016755 t insert_char +000167b8 t insert_line +000167fc t delete_char +0001685a t delete_line +0001689e t csi_at +000168dc t csi_L +0001691a t csi_P +00016958 t csi_M +00016996 t save_cur +000169ab t restore_cur +000169ca T con_write +00017058 T con_init +0001728f T sysbeepstop +000172b8 t sysbeep +00017316 t mode +00017317 t leds +00017318 t e0 +00017319 T keyboard_interrupt +00017342 t e0_e1 +0001736d t set_e0 +00017376 t set_e1 +0001737f t put_queue +000173b8 t ctrl +000173d0 t unctrl +000173d4 t unalt +000173ea t lshift +000173f2 t unlshift +000173fa t rshift +00017402 t unrshift +0001740a t caps +0001742c t set_leds +00017442 t uncaps +0001744a t scroll +00017453 t num +0001745c t cursor +0001747c t cur2 +000174a5 t cur +000174b1 t ok_cur +000174bf t num_table +000174cc t cur_table +000174d9 t func +000174f6 t ok_func +00017509 t end_func +0001750a t func_table +0001753a t key_map +0001759b t shift_map +0001765d t do_self +000176c5 t none +000176c6 t minus +000176db t key_table +00017adb t kb_wait +00017ae4 t reboot +00017af6 t die +00017af8 t init +00017b6d T rs_init +00017bf0 T rs_write +00017c40 T rs1_interrupt +00017c48 T rs2_interrupt +00017c4d t rs_int +00017c64 t rep_int +00017c81 t end +00017c8f t jmp_table +00017ca0 t modem_status +00017ca8 t line_status +00017cb0 t read_char +00017d37 t get_fs_byte +00017d45 t get_fs_long +00017d5b t put_fs_byte +00017d73 t put_fs_long +00017d7f t change_speed +00017dfd t flush +00017e0f t send_break +00017e10 t get_termios +00017e6c t set_termios +00017ebc t get_termio +00017f84 t set_termio +00018048 T tty_ioctl +00018346 t get_fs_byte +00018354 T math_emulate +00018437 T math_error +00018457 T _exit +00018467 T open +000184b0 T close +00018524 T dup +0001855b T setsid +0001858a T execve +00018627 T strcpy +00018643 T strncpy +00018668 T strcat +00018693 T strncat +000186c8 T strcmp +000186ef T strncmp +0001871d T strchr +0001874a T strrchr +00018779 T strspn +000187b6 T strcspn +000187f3 T strpbrk +0001882a T strstr +00018863 T strlen +00018886 T strtok +00018909 T memcpy +00018929 T memmove +0001897d T memcmp +000189a7 T memchr +000189df T memset +00018a03 t init_bucket_desc +00018a6c T malloc +00018bf8 T free_s +0001cee8 d envp_rc +0001cefc d envp +0001cf20 D sys_call_table +0001d09c D NR_syscalls +0001d0a0 d init_task +0001e0a0 D current +0001e0c0 D task +0001e1c0 D stack_start +0001e1c8 D current_DOR +0001e1e0 d thisname.2384 +0001e220 d month +0001e260 d last_inode.1935 +0001e264 D start_buffer +0001e280 d crw_table +0001e2a0 d ioctl_table +0001e2c0 d floppy_type +0001e380 d cur_spec1 +0001e384 d cur_rate +0001e388 d floppy +0001e38c d current_track +0001e390 d callable.1844 +0001e3a0 D tty_table +000208c0 D table_list +000208e0 d quotient +00020900 D _ctype +00020a20 D bucket_dir +00020a70 B __bss_start +00020a70 D _edata +00020a80 b printbuf +00020e80 b memory_end +00020e84 b buffer_memory_end +00020e88 b main_memory_start +00020ea0 B jiffies +00020ea4 B startup_time +00020ea8 B last_task_used_math +00020ebc b mon_timer +00020ecc b moff_timer +00020ee0 b timer_list +000211e0 b next_timer +000211e4 B last_pid +00021200 b buf +00021600 b HIGH_MEMORY +00021620 b mem_map +00022520 B inode_table +00022c20 B nr_buffers +00022c24 b free_list +00022c28 b buffer_wait +00022c2c B ROOT_DEV +00022c60 B blk_dev +00022c98 B do_floppy +00022c9c B selected +00022ca4 b recalibrate +00022ca8 b reset +00022cac b seek +00022cb0 b reply_buffer +00022cb7 b current_drive +00022cb8 b sector +00022cb9 b head +00022cba b track +00022cbb b seek_track +00022cbc b command +00022cc0 B do_hd +00022ce0 B hd_info +00022d10 b recalibrate +00022d14 b reset +00022d18 b NR_HD +00022d20 b hd +00022d70 B rd_length +00022d74 b cr_flag.1923 +00022d80 B beepcount +00022d84 b video_type +00022d88 b video_num_columns +00022d8c b video_size_row +00022d90 b video_num_lines +00022d94 b video_page +00022d98 b video_mem_start +00022d9c b video_mem_end +00022da0 b video_port_reg +00022da2 b video_port_val +00022da4 b video_erase_char +00022da8 b origin +00022dac b scr_end +00022db0 b pos +00022db4 b x +00022db8 b y +00022dbc b top +00022dc0 b bottom +00022dc4 b state +00022dc8 b npar +00022de0 b par +00022e20 b ques +00022e24 b saved_x +00022e28 b saved_y +00022e2c B free_bucket_desc +00022e40 B drive_info +00022e60 B user_stack +00023e60 B hash_table +00024340 B super_block +000246a0 B file_table +00024aa0 B request +00024f20 B rd_start +00024f24 B _ctmp +00024f28 B errno +00024f2c B ___strtok +00024f30 B end +00024f30 B _end diff --git a/linux/System.map.2 b/linux/System.map.2 index 447337a..8b37e0d 100644 --- a/linux/System.map.2 +++ b/linux/System.map.2 @@ -205,7 +205,7 @@ LOAD lib/lib.a *(.iplt) .iplt 0x0000000000000000 0x0 boot/head.o -.text 0x0000000000000000 0x18a93 +.text 0x0000000000000000 0x18d6f *(.text.unlikely .text.*_unlikely .text.unlikely.*) *(.text.exit .text.exit.*) *(.text.startup .text.startup.*) @@ -225,7 +225,7 @@ LOAD lib/lib.a 0x0000000000006799 main 0x000000000000695b init 0x0000000000006bd3 print_nr - .text 0x0000000000006bd4 0x412f kernel/kernel.o + .text 0x0000000000006bd4 0x43d8 kernel/kernel.o 0x0000000000006bd4 show_task 0x0000000000006c59 show_stat 0x0000000000006c9f math_state_restore @@ -300,257 +300,257 @@ LOAD lib/lib.a 0x0000000000008b7c vsprintf 0x0000000000009042 sys_getcwd 0x00000000000094e6 sys_getdents - 0x0000000000009777 sys_pipe2 - 0x000000000000977d sys_sleep - 0x0000000000009833 sys_mmap - 0x0000000000009839 sys_munmap - 0x000000000000983f sys_clone - 0x0000000000009845 sys_ftime - 0x000000000000984b sys_break - 0x0000000000009851 sys_ptrace - 0x0000000000009857 sys_stty - 0x000000000000985d sys_gtty - 0x0000000000009863 sys_rename - 0x0000000000009869 sys_prof - 0x000000000000986f sys_setregid - 0x0000000000009928 sys_setgid - 0x00000000000099bf sys_acct - 0x00000000000099c5 sys_phys - 0x00000000000099cb sys_lock - 0x00000000000099d1 sys_mpx - 0x00000000000099d7 sys_ulimit - 0x00000000000099dd sys_time - 0x0000000000009a39 sys_setreuid - 0x0000000000009b1b sys_setuid - 0x0000000000009bb0 sys_stime - 0x0000000000009c06 sys_times - 0x0000000000009ca6 sys_brk - 0x0000000000009ce8 sys_setpgid - 0x0000000000009dc1 sys_getpgrp - 0x0000000000009dcd sys_setsid - 0x0000000000009e47 sys_getgroups - 0x0000000000009e4d sys_setgroups - 0x0000000000009e53 sys_uname - 0x0000000000009ebc sys_sethostname - 0x0000000000009ec2 sys_getrlimit - 0x0000000000009ec8 sys_setrlimit - 0x0000000000009ece sys_getrusage - 0x0000000000009ed4 sys_gettimeofday - 0x0000000000009eda sys_settimeofday - 0x0000000000009ee0 sys_umask - 0x0000000000009f51 release - 0x000000000000a08e sys_kill - 0x000000000000a2c8 do_exit - 0x000000000000a4fc sys_exit - 0x000000000000a515 sys_waitpid - 0x000000000000a76d sys_sgetmask - 0x000000000000a779 sys_ssetmask - 0x000000000000a7a5 sys_sigpending - 0x000000000000a7ab sys_sigsuspend - 0x000000000000a844 sys_signal - 0x000000000000a8c8 sys_sigaction - 0x000000000000a9d2 do_signal - 0x000000000000abbe kernel_mktime - .text 0x000000000000ad03 0xc7b mm/mm.o - 0x000000000000ad22 get_free_page - 0x000000000000ad5e free_page - 0x000000000000adcd free_page_tables - 0x000000000000aecc copy_page_tables - 0x000000000000b04d put_page - 0x000000000000b139 un_wp_page - 0x000000000000b1f1 do_wp_page - 0x000000000000b223 write_verify - 0x000000000000b27c get_empty_page - 0x000000000000b502 do_no_page - 0x000000000000b664 mem_init - 0x000000000000b6d8 do_execve2 - 0x000000000000b852 calc_mem - 0x000000000000b947 page_fault - .text 0x000000000000b97e 0x75dc fs/fs.o - 0x000000000000b994 sys_ustat - 0x000000000000b99a sys_utime - 0x000000000000ba47 sys_access - 0x000000000000bb23 sys_chdir - 0x000000000000bb97 sys_chroot - 0x000000000000bc0b sys_chmod - 0x000000000000bca5 sys_chown - 0x000000000000bd20 sys_open - 0x000000000000bfc3 sys_creat - 0x000000000000bfe6 sys_close - 0x000000000000c0b5 sys_lseek - 0x000000000000c1cc sys_read - 0x000000000000c3bf sys_write - 0x000000000000c5b8 invalidate_inodes - 0x000000000000c627 sync_inodes - 0x000000000000ca6a bmap - 0x000000000000ca8d create_block - 0x000000000000cab0 iput - 0x000000000000cc1f get_empty_inode - 0x000000000000cd74 get_pipe_inode - 0x000000000000cde9 iget - 0x000000000000d1e4 sys_sync - 0x000000000000d247 sync_dev - 0x000000000000d340 invalidate_buffers - 0x000000000000d3b2 check_disk_change - 0x000000000000d680 get_hash_table - 0x000000000000d702 getblk - 0x000000000000d8a0 brelse - 0x000000000000d8e9 bread - 0x000000000000d96e bread_page - 0x000000000000da90 breada - 0x000000000000db85 buffer_init - 0x000000000000dd26 get_super - 0x000000000000dd95 put_super - 0x000000000000e1ab sys_umount - 0x000000000000e30c sys_mount - 0x000000000000e47d mount_root - 0x000000000000e6b1 block_write - 0x000000000000e803 block_read - 0x000000000000eb6e rw_char - 0x000000000000ebfe file_read - 0x000000000000eda9 file_write - 0x000000000000f092 sys_stat - 0x000000000000f0dc sys_lstat - 0x000000000000f0f7 sys_fstat - 0x000000000000f154 sys_readlink - 0x000000000000f203 sys_uselib - 0x000000000000f6d2 do_execve - 0x0000000000010229 read_pipe - 0x000000000001037f write_pipe - 0x00000000000104fe sys_pipe - 0x0000000000010edd namei - 0x0000000000010ff3 open_namei - 0x0000000000011346 sys_mknod - 0x0000000000011576 sys_mkdir - 0x0000000000011b05 sys_rmdir - 0x0000000000011e5d sys_unlink - 0x00000000000120fe sys_symlink - 0x0000000000012104 sys_link - 0x000000000001235e free_block - 0x00000000000124d0 new_block - 0x0000000000012674 free_inode - 0x00000000000127db new_inode - 0x0000000000012a8f sys_dup2 - 0x0000000000012ab6 sys_dup - 0x0000000000012ad1 sys_fcntl - 0x0000000000012c10 sys_ioctl - 0x0000000000012e1f truncate - 0x0000000000012f54 sys_select - .text 0x0000000000012f5a 0x46a kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - 0x000000000001331d ll_rw_block - 0x0000000000013376 blk_dev_init - .text 0x00000000000133c4 0xb9d kernel/blk_drv/blk_drv.a(floppy.o) - 0x00000000000134aa floppy_deselect - 0x00000000000134e1 floppy_change - 0x000000000001389e setup_rw_floppy - 0x0000000000013b37 unexpected_floppy_interrupt - 0x0000000000013f0f floppy_init - .text 0x0000000000013f61 0xc8f kernel/blk_drv/blk_drv.a(hd.o) - 0x0000000000014035 sys_setup - 0x00000000000146e4 unexpected_hd_interrupt - 0x0000000000014b76 hd_init - .text 0x0000000000014bf0 0x50c kernel/blk_drv/blk_drv.a(ramdisk.o) - 0x0000000000014dfa rd_init - 0x0000000000014e50 rd_load - .text 0x00000000000150fc 0xcbb kernel/chr_drv/chr_drv.a(tty_io.o) - 0x0000000000015122 tty_init - 0x0000000000015133 tty_intr - 0x0000000000015240 wait_for_keypress - 0x0000000000015253 copy_to_cooked - 0x000000000001580e tty_read - 0x0000000000015b7c tty_write - 0x0000000000015d8e do_tty_interrupt - 0x0000000000015db6 chr_dev_init - .text 0x0000000000015db7 0x1283 kernel/chr_drv/chr_drv.a(console.o) - 0x0000000000016354 csi_m - 0x00000000000166ee con_write - 0x0000000000016d7c con_init - 0x0000000000016fb3 sysbeepstop - .text 0x000000000001703a 0x7e2 kernel/chr_drv/chr_drv.a(keyboard.2.o) - 0x000000000001703d keyboard_interrupt - .text 0x000000000001781c 0x145 kernel/chr_drv/chr_drv.a(serial.o) - 0x0000000000017891 rs_init - 0x0000000000017914 rs_write - *fill* 0x0000000000017961 0x3 - .text 0x0000000000017964 0xf7 kernel/chr_drv/chr_drv.a(rs_io.o) - 0x0000000000017964 rs1_interrupt - 0x000000000001796c rs2_interrupt - .text 0x0000000000017a5b 0x60f kernel/chr_drv/chr_drv.a(tty_ioctl.o) - 0x0000000000017d6c tty_ioctl - .text 0x000000000001806a 0x111 kernel/math/math.a(math_emulate.o) - 0x0000000000018078 math_emulate - 0x000000000001815b math_error - .text 0x000000000001817b 0x0 lib/lib.a(ctype.o) - .text 0x000000000001817b 0x10 lib/lib.a(_exit.o) - 0x000000000001817b _exit - .text 0x000000000001818b 0x49 lib/lib.a(open.o) - 0x000000000001818b open - .text 0x00000000000181d4 0x37 lib/lib.a(close.o) - 0x00000000000181d4 close - .text 0x000000000001820b 0x0 lib/lib.a(errno.o) - .text 0x000000000001820b 0x3d lib/lib.a(write.o) - 0x000000000001820b write - .text 0x0000000000018248 0x37 lib/lib.a(dup.o) - 0x0000000000018248 dup - .text 0x000000000001827f 0x2f lib/lib.a(setsid.o) - 0x000000000001827f setsid - .text 0x00000000000182ae 0x3d lib/lib.a(execve.o) - 0x00000000000182ae execve - .text 0x00000000000182eb 0x60 lib/lib.a(wait.o) - 0x00000000000182eb waitpid - 0x0000000000018328 wait - .text 0x000000000001834b 0x3dc lib/lib.a(string.o) - 0x000000000001834b strcpy - 0x0000000000018367 strncpy - 0x000000000001838c strcat - 0x00000000000183b7 strncat - 0x00000000000183ec strcmp - 0x0000000000018413 strncmp - 0x0000000000018441 strchr - 0x000000000001846e strrchr - 0x000000000001849d strspn - 0x00000000000184da strcspn - 0x0000000000018517 strpbrk - 0x000000000001854e strstr - 0x0000000000018587 strlen - 0x00000000000185aa strtok - 0x000000000001862d memcpy - 0x000000000001864d memmove - 0x00000000000186a1 memcmp - 0x00000000000186cb memchr - 0x0000000000018703 memset - .text 0x0000000000018727 0x36c lib/lib.a(malloc.o) - 0x0000000000018790 malloc - 0x000000000001891c free_s + 0x0000000000009761 sys_pipe2 + 0x0000000000009767 sys_sleep + 0x000000000000981d sys_clone + 0x0000000000009823 sys_ftime + 0x0000000000009829 sys_break + 0x000000000000982f sys_ptrace + 0x0000000000009835 sys_stty + 0x000000000000983b sys_gtty + 0x0000000000009841 sys_rename + 0x0000000000009847 sys_prof + 0x000000000000984d sys_setregid + 0x0000000000009906 sys_setgid + 0x000000000000999d sys_acct + 0x00000000000099a3 sys_phys + 0x00000000000099a9 sys_lock + 0x00000000000099af sys_mpx + 0x00000000000099b5 sys_ulimit + 0x00000000000099bb sys_time + 0x0000000000009a17 sys_setreuid + 0x0000000000009af9 sys_setuid + 0x0000000000009b8e sys_stime + 0x0000000000009be4 sys_times + 0x0000000000009c84 sys_brk + 0x0000000000009cc6 sys_setpgid + 0x0000000000009d9f sys_getpgrp + 0x0000000000009dab sys_setsid + 0x0000000000009e25 sys_getgroups + 0x0000000000009e2b sys_setgroups + 0x0000000000009e31 sys_uname + 0x0000000000009e9a sys_sethostname + 0x0000000000009ea0 sys_getrlimit + 0x0000000000009ea6 sys_setrlimit + 0x0000000000009eac sys_getrusage + 0x0000000000009eb2 sys_gettimeofday + 0x0000000000009eb8 sys_settimeofday + 0x0000000000009ebe sys_umask + 0x0000000000009ef1 sys_mmap + 0x000000000000a1b6 sys_munmap + 0x000000000000a1fa release + 0x000000000000a337 sys_kill + 0x000000000000a571 do_exit + 0x000000000000a7a5 sys_exit + 0x000000000000a7be sys_waitpid + 0x000000000000aa16 sys_sgetmask + 0x000000000000aa22 sys_ssetmask + 0x000000000000aa4e sys_sigpending + 0x000000000000aa54 sys_sigsuspend + 0x000000000000aaed sys_signal + 0x000000000000ab71 sys_sigaction + 0x000000000000ac7b do_signal + 0x000000000000ae67 kernel_mktime + .text 0x000000000000afac 0xcae mm/mm.o + 0x000000000000afcb get_free_page + 0x000000000000b007 free_page + 0x000000000000b076 free_page_tables + 0x000000000000b175 copy_page_tables + 0x000000000000b2f6 put_page + 0x000000000000b3e2 un_wp_page + 0x000000000000b49a do_wp_page + 0x000000000000b4cc write_verify + 0x000000000000b525 get_empty_page + 0x000000000000b7ab do_no_page + 0x000000000000b940 mem_init + 0x000000000000b9b4 do_execve2 + 0x000000000000bb2e calc_mem + 0x000000000000bc23 page_fault + .text 0x000000000000bc5a 0x75dc fs/fs.o + 0x000000000000bc70 sys_ustat + 0x000000000000bc76 sys_utime + 0x000000000000bd23 sys_access + 0x000000000000bdff sys_chdir + 0x000000000000be73 sys_chroot + 0x000000000000bee7 sys_chmod + 0x000000000000bf81 sys_chown + 0x000000000000bffc sys_open + 0x000000000000c29f sys_creat + 0x000000000000c2c2 sys_close + 0x000000000000c391 sys_lseek + 0x000000000000c4a8 sys_read + 0x000000000000c69b sys_write + 0x000000000000c894 invalidate_inodes + 0x000000000000c903 sync_inodes + 0x000000000000cd46 bmap + 0x000000000000cd69 create_block + 0x000000000000cd8c iput + 0x000000000000cefb get_empty_inode + 0x000000000000d050 get_pipe_inode + 0x000000000000d0c5 iget + 0x000000000000d4c0 sys_sync + 0x000000000000d523 sync_dev + 0x000000000000d61c invalidate_buffers + 0x000000000000d68e check_disk_change + 0x000000000000d95c get_hash_table + 0x000000000000d9de getblk + 0x000000000000db7c brelse + 0x000000000000dbc5 bread + 0x000000000000dc4a bread_page + 0x000000000000dd6c breada + 0x000000000000de61 buffer_init + 0x000000000000e002 get_super + 0x000000000000e071 put_super + 0x000000000000e487 sys_umount + 0x000000000000e5e8 sys_mount + 0x000000000000e759 mount_root + 0x000000000000e98d block_write + 0x000000000000eadf block_read + 0x000000000000ee4a rw_char + 0x000000000000eeda file_read + 0x000000000000f085 file_write + 0x000000000000f36e sys_stat + 0x000000000000f3b8 sys_lstat + 0x000000000000f3d3 sys_fstat + 0x000000000000f430 sys_readlink + 0x000000000000f4df sys_uselib + 0x000000000000f9ae do_execve + 0x0000000000010505 read_pipe + 0x000000000001065b write_pipe + 0x00000000000107da sys_pipe + 0x00000000000111b9 namei + 0x00000000000112cf open_namei + 0x0000000000011622 sys_mknod + 0x0000000000011852 sys_mkdir + 0x0000000000011de1 sys_rmdir + 0x0000000000012139 sys_unlink + 0x00000000000123da sys_symlink + 0x00000000000123e0 sys_link + 0x000000000001263a free_block + 0x00000000000127ac new_block + 0x0000000000012950 free_inode + 0x0000000000012ab7 new_inode + 0x0000000000012d6b sys_dup2 + 0x0000000000012d92 sys_dup + 0x0000000000012dad sys_fcntl + 0x0000000000012eec sys_ioctl + 0x00000000000130fb truncate + 0x0000000000013230 sys_select + .text 0x0000000000013236 0x46a kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + 0x00000000000135f9 ll_rw_block + 0x0000000000013652 blk_dev_init + .text 0x00000000000136a0 0xb9d kernel/blk_drv/blk_drv.a(floppy.o) + 0x0000000000013786 floppy_deselect + 0x00000000000137bd floppy_change + 0x0000000000013b7a setup_rw_floppy + 0x0000000000013e13 unexpected_floppy_interrupt + 0x00000000000141eb floppy_init + .text 0x000000000001423d 0xc8f kernel/blk_drv/blk_drv.a(hd.o) + 0x0000000000014311 sys_setup + 0x00000000000149c0 unexpected_hd_interrupt + 0x0000000000014e52 hd_init + .text 0x0000000000014ecc 0x50c kernel/blk_drv/blk_drv.a(ramdisk.o) + 0x00000000000150d6 rd_init + 0x000000000001512c rd_load + .text 0x00000000000153d8 0xcbb kernel/chr_drv/chr_drv.a(tty_io.o) + 0x00000000000153fe tty_init + 0x000000000001540f tty_intr + 0x000000000001551c wait_for_keypress + 0x000000000001552f copy_to_cooked + 0x0000000000015aea tty_read + 0x0000000000015e58 tty_write + 0x000000000001606a do_tty_interrupt + 0x0000000000016092 chr_dev_init + .text 0x0000000000016093 0x1283 kernel/chr_drv/chr_drv.a(console.o) + 0x0000000000016630 csi_m + 0x00000000000169ca con_write + 0x0000000000017058 con_init + 0x000000000001728f sysbeepstop + .text 0x0000000000017316 0x7e2 kernel/chr_drv/chr_drv.a(keyboard.2.o) + 0x0000000000017319 keyboard_interrupt + .text 0x0000000000017af8 0x145 kernel/chr_drv/chr_drv.a(serial.o) + 0x0000000000017b6d rs_init + 0x0000000000017bf0 rs_write + *fill* 0x0000000000017c3d 0x3 + .text 0x0000000000017c40 0xf7 kernel/chr_drv/chr_drv.a(rs_io.o) + 0x0000000000017c40 rs1_interrupt + 0x0000000000017c48 rs2_interrupt + .text 0x0000000000017d37 0x60f kernel/chr_drv/chr_drv.a(tty_ioctl.o) + 0x0000000000018048 tty_ioctl + .text 0x0000000000018346 0x111 kernel/math/math.a(math_emulate.o) + 0x0000000000018354 math_emulate + 0x0000000000018437 math_error + .text 0x0000000000018457 0x0 lib/lib.a(ctype.o) + .text 0x0000000000018457 0x10 lib/lib.a(_exit.o) + 0x0000000000018457 _exit + .text 0x0000000000018467 0x49 lib/lib.a(open.o) + 0x0000000000018467 open + .text 0x00000000000184b0 0x37 lib/lib.a(close.o) + 0x00000000000184b0 close + .text 0x00000000000184e7 0x0 lib/lib.a(errno.o) + .text 0x00000000000184e7 0x3d lib/lib.a(write.o) + 0x00000000000184e7 write + .text 0x0000000000018524 0x37 lib/lib.a(dup.o) + 0x0000000000018524 dup + .text 0x000000000001855b 0x2f lib/lib.a(setsid.o) + 0x000000000001855b setsid + .text 0x000000000001858a 0x3d lib/lib.a(execve.o) + 0x000000000001858a execve + .text 0x00000000000185c7 0x60 lib/lib.a(wait.o) + 0x00000000000185c7 waitpid + 0x0000000000018604 wait + .text 0x0000000000018627 0x3dc lib/lib.a(string.o) + 0x0000000000018627 strcpy + 0x0000000000018643 strncpy + 0x0000000000018668 strcat + 0x0000000000018693 strncat + 0x00000000000186c8 strcmp + 0x00000000000186ef strncmp + 0x000000000001871d strchr + 0x000000000001874a strrchr + 0x0000000000018779 strspn + 0x00000000000187b6 strcspn + 0x00000000000187f3 strpbrk + 0x000000000001882a strstr + 0x0000000000018863 strlen + 0x0000000000018886 strtok + 0x0000000000018909 memcpy + 0x0000000000018929 memmove + 0x000000000001897d memcmp + 0x00000000000189a7 memchr + 0x00000000000189df memset + .text 0x0000000000018a03 0x36c lib/lib.a(malloc.o) + 0x0000000000018a6c malloc + 0x0000000000018bf8 free_s *(.gnu.warning) .fini *(SORT(.fini)) - 0x0000000000018a93 PROVIDE (__etext, .) - 0x0000000000018a93 PROVIDE (_etext, .) - 0x0000000000018a93 PROVIDE (etext, .) + 0x0000000000018d6f PROVIDE (__etext, .) + 0x0000000000018d6f PROVIDE (_etext, .) + 0x0000000000018d6f PROVIDE (etext, .) -.rodata 0x0000000000018a94 0x14ef +.rodata 0x0000000000018d70 0x159b *(.rodata .rodata.* .gnu.linkonce.r.*) - .rodata 0x0000000000018a94 0xad init/main.o - *fill* 0x0000000000018b41 0x3 - .rodata 0x0000000000018b44 0x438 kernel/kernel.o - .rodata 0x0000000000018f7c 0x18f mm/mm.o - *fill* 0x000000000001910b 0x1 - .rodata 0x000000000001910c 0x67c fs/fs.o - .rodata 0x0000000000019788 0x7a kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - *fill* 0x0000000000019802 0x2 - .rodata 0x0000000000019804 0x133 kernel/blk_drv/blk_drv.a(floppy.o) - *fill* 0x0000000000019937 0x1 - .rodata 0x0000000000019938 0x19b kernel/blk_drv/blk_drv.a(hd.o) - *fill* 0x0000000000019ad3 0x1 - .rodata 0x0000000000019ad4 0x188 kernel/blk_drv/blk_drv.a(ramdisk.o) - .rodata 0x0000000000019c5c 0x17d kernel/chr_drv/chr_drv.a(console.o) - *fill* 0x0000000000019dd9 0x3 - .rodata 0x0000000000019ddc 0x80 kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .rodata 0x0000000000019e5c 0x52 kernel/math/math.a(math_emulate.o) - *fill* 0x0000000000019eae 0x2 - .rodata 0x0000000000019eb0 0xd3 lib/lib.a(malloc.o) + .rodata 0x0000000000018d70 0xad init/main.o + *fill* 0x0000000000018e1d 0x3 + .rodata 0x0000000000018e20 0x4bc kernel/kernel.o + .rodata 0x00000000000192dc 0x1b5 mm/mm.o + *fill* 0x0000000000019491 0x3 + .rodata 0x0000000000019494 0x67c fs/fs.o + .rodata 0x0000000000019b10 0x7a kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + *fill* 0x0000000000019b8a 0x2 + .rodata 0x0000000000019b8c 0x133 kernel/blk_drv/blk_drv.a(floppy.o) + *fill* 0x0000000000019cbf 0x1 + .rodata 0x0000000000019cc0 0x19b kernel/blk_drv/blk_drv.a(hd.o) + *fill* 0x0000000000019e5b 0x1 + .rodata 0x0000000000019e5c 0x188 kernel/blk_drv/blk_drv.a(ramdisk.o) + .rodata 0x0000000000019fe4 0x17d kernel/chr_drv/chr_drv.a(console.o) + *fill* 0x000000000001a161 0x3 + .rodata 0x000000000001a164 0x80 kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .rodata 0x000000000001a1e4 0x52 kernel/math/math.a(math_emulate.o) + *fill* 0x000000000001a236 0x2 + .rodata 0x000000000001a238 0xd3 lib/lib.a(malloc.o) .rodata1 *(.rodata1) @@ -558,52 +558,52 @@ LOAD lib/lib.a .eh_frame_hdr *(.eh_frame_hdr) -.eh_frame 0x0000000000019f84 0x2bb0 +.eh_frame 0x000000000001a30c 0x2bb8 *(.eh_frame) - .eh_frame 0x0000000000019f84 0x104 init/main.o - .eh_frame 0x000000000001a088 0xbc8 kernel/kernel.o - 0xcb8 (size before relaxing) - .eh_frame 0x000000000001ac50 0x1b0 mm/mm.o + .eh_frame 0x000000000001a30c 0x104 init/main.o + .eh_frame 0x000000000001a410 0xbd0 kernel/kernel.o + 0xcc0 (size before relaxing) + .eh_frame 0x000000000001afe0 0x1b0 mm/mm.o 0x1c8 (size before relaxing) - .eh_frame 0x000000000001ae00 0xdd8 fs/fs.o + .eh_frame 0x000000000001b190 0xdd8 fs/fs.o 0xf70 (size before relaxing) - .eh_frame 0x000000000001bbd8 0x98 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .eh_frame 0x000000000001bf68 0x98 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) 0xb0 (size before relaxing) - .eh_frame 0x000000000001bc70 0x23c kernel/blk_drv/blk_drv.a(floppy.o) + .eh_frame 0x000000000001c000 0x23c kernel/blk_drv/blk_drv.a(floppy.o) 0x254 (size before relaxing) - .eh_frame 0x000000000001beac 0x1e8 kernel/blk_drv/blk_drv.a(hd.o) + .eh_frame 0x000000000001c23c 0x1e8 kernel/blk_drv/blk_drv.a(hd.o) 0x200 (size before relaxing) - .eh_frame 0x000000000001c094 0xac kernel/blk_drv/blk_drv.a(ramdisk.o) + .eh_frame 0x000000000001c424 0xac kernel/blk_drv/blk_drv.a(ramdisk.o) 0xc4 (size before relaxing) - .eh_frame 0x000000000001c140 0x12c kernel/chr_drv/chr_drv.a(tty_io.o) + .eh_frame 0x000000000001c4d0 0x12c kernel/chr_drv/chr_drv.a(tty_io.o) 0x144 (size before relaxing) - .eh_frame 0x000000000001c26c 0x2c0 kernel/chr_drv/chr_drv.a(console.o) + .eh_frame 0x000000000001c5fc 0x2c0 kernel/chr_drv/chr_drv.a(console.o) 0x2d8 (size before relaxing) - .eh_frame 0x000000000001c52c 0x54 kernel/chr_drv/chr_drv.a(serial.o) + .eh_frame 0x000000000001c8bc 0x54 kernel/chr_drv/chr_drv.a(serial.o) 0x6c (size before relaxing) - .eh_frame 0x000000000001c580 0x148 kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .eh_frame 0x000000000001c910 0x148 kernel/chr_drv/chr_drv.a(tty_ioctl.o) 0x160 (size before relaxing) - .eh_frame 0x000000000001c6c8 0x5c kernel/math/math.a(math_emulate.o) + .eh_frame 0x000000000001ca58 0x5c kernel/math/math.a(math_emulate.o) 0x74 (size before relaxing) - .eh_frame 0x000000000001c724 0x1c lib/lib.a(_exit.o) + .eh_frame 0x000000000001cab4 0x1c lib/lib.a(_exit.o) 0x34 (size before relaxing) - .eh_frame 0x000000000001c740 0x24 lib/lib.a(open.o) + .eh_frame 0x000000000001cad0 0x24 lib/lib.a(open.o) 0x3c (size before relaxing) - .eh_frame 0x000000000001c764 0x20 lib/lib.a(close.o) + .eh_frame 0x000000000001caf4 0x20 lib/lib.a(close.o) 0x38 (size before relaxing) - .eh_frame 0x000000000001c784 0x20 lib/lib.a(write.o) + .eh_frame 0x000000000001cb14 0x20 lib/lib.a(write.o) 0x38 (size before relaxing) - .eh_frame 0x000000000001c7a4 0x20 lib/lib.a(dup.o) + .eh_frame 0x000000000001cb34 0x20 lib/lib.a(dup.o) 0x38 (size before relaxing) - .eh_frame 0x000000000001c7c4 0x18 lib/lib.a(setsid.o) + .eh_frame 0x000000000001cb54 0x18 lib/lib.a(setsid.o) 0x30 (size before relaxing) - .eh_frame 0x000000000001c7dc 0x20 lib/lib.a(execve.o) + .eh_frame 0x000000000001cb6c 0x20 lib/lib.a(execve.o) 0x38 (size before relaxing) - .eh_frame 0x000000000001c7fc 0x38 lib/lib.a(wait.o) + .eh_frame 0x000000000001cb8c 0x38 lib/lib.a(wait.o) 0x50 (size before relaxing) - .eh_frame 0x000000000001c834 0x2b0 lib/lib.a(string.o) + .eh_frame 0x000000000001cbc4 0x2b0 lib/lib.a(string.o) 0x2c8 (size before relaxing) - .eh_frame 0x000000000001cae4 0x50 lib/lib.a(malloc.o) + .eh_frame 0x000000000001ce74 0x50 lib/lib.a(malloc.o) 0x68 (size before relaxing) .gcc_except_table @@ -611,7 +611,7 @@ LOAD lib/lib.a .exception_ranges *(.exception_ranges .exception_ranges*) - 0x000000000001cb34 . = . + 0x000000000001cec4 . = . .eh_frame *(.eh_frame) @@ -629,22 +629,22 @@ LOAD lib/lib.a *(.tbss .tbss.* .gnu.linkonce.tb.*) *(.tcommon) -.preinit_array 0x000000000001cb34 0x0 - 0x000000000001cb34 PROVIDE (__preinit_array_start, .) +.preinit_array 0x000000000001cec4 0x0 + 0x000000000001cec4 PROVIDE (__preinit_array_start, .) *(.preinit_array) - 0x000000000001cb34 PROVIDE (__preinit_array_end, .) + 0x000000000001cec4 PROVIDE (__preinit_array_end, .) -.init_array 0x000000000001cb34 0x0 - 0x000000000001cb34 PROVIDE (__init_array_start, .) +.init_array 0x000000000001cec4 0x0 + 0x000000000001cec4 PROVIDE (__init_array_start, .) *(SORT(.init_array.*) SORT(.ctors.*)) *(.init_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .ctors) - 0x000000000001cb34 PROVIDE (__init_array_end, .) + 0x000000000001cec4 PROVIDE (__init_array_end, .) -.fini_array 0x000000000001cb34 0x0 - 0x000000000001cb34 PROVIDE (__fini_array_start, .) +.fini_array 0x000000000001cec4 0x0 + 0x000000000001cec4 PROVIDE (__fini_array_start, .) *(SORT(.fini_array.*) SORT(.dtors.*)) *(.fini_array EXCLUDE_FILE(*crtend?.o *crtend.o *crtbegin?.o *crtbegin.o) .dtors) - 0x000000000001cb34 PROVIDE (__fini_array_end, .) + 0x000000000001cec4 PROVIDE (__fini_array_end, .) .ctors *crtbegin.o(.ctors) @@ -674,145 +674,145 @@ LOAD lib/lib.a *(.got) *(.igot) -.got.plt 0x000000000001cb34 0x0 +.got.plt 0x000000000001cec4 0x0 *(.got.plt) *(.igot.plt) .igot.plt 0x0000000000000000 0x0 boot/head.o -.data 0x000000000001cb40 0x3b90 +.data 0x000000000001cee0 0x3b90 *(.data .data.* .gnu.linkonce.d.*) - .data 0x000000000001cb40 0x0 boot/head.o - .data 0x000000000001cb40 0x28 init/main.o - *fill* 0x000000000001cb68 0x18 - .data 0x000000000001cb80 0x1330 kernel/kernel.o - 0x000000000001cb80 sys_call_table - 0x000000000001ccfc NR_syscalls - 0x000000000001dd00 current - 0x000000000001dd20 task - 0x000000000001de20 stack_start - 0x000000000001de28 current_DOR - .data 0x000000000001deb0 0x0 mm/mm.o - *fill* 0x000000000001deb0 0x10 - .data 0x000000000001dec0 0x60 fs/fs.o - 0x000000000001dec4 start_buffer - .data 0x000000000001df20 0x0 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - .data 0x000000000001df20 0xcd kernel/blk_drv/blk_drv.a(floppy.o) - *fill* 0x000000000001dfed 0x3 - .data 0x000000000001dff0 0x4 kernel/blk_drv/blk_drv.a(hd.o) - .data 0x000000000001dff4 0x0 kernel/blk_drv/blk_drv.a(ramdisk.o) - *fill* 0x000000000001dff4 0xc - .data 0x000000000001e000 0x2538 kernel/chr_drv/chr_drv.a(tty_io.o) - 0x000000000001e000 tty_table - 0x0000000000020520 table_list - .data 0x0000000000020538 0x1 kernel/chr_drv/chr_drv.a(console.o) - .data 0x0000000000020539 0x0 kernel/chr_drv/chr_drv.a(keyboard.2.o) - .data 0x0000000000020539 0x0 kernel/chr_drv/chr_drv.a(serial.o) - .data 0x0000000000020539 0x0 kernel/chr_drv/chr_drv.a(rs_io.o) - *fill* 0x0000000000020539 0x7 - .data 0x0000000000020540 0x20 kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .data 0x0000000000020560 0x0 kernel/math/math.a(math_emulate.o) - .data 0x0000000000020560 0x101 lib/lib.a(ctype.o) - 0x0000000000020560 _ctype - .data 0x0000000000020661 0x0 lib/lib.a(_exit.o) - .data 0x0000000000020661 0x0 lib/lib.a(open.o) - .data 0x0000000000020661 0x0 lib/lib.a(close.o) - .data 0x0000000000020661 0x0 lib/lib.a(errno.o) - .data 0x0000000000020661 0x0 lib/lib.a(write.o) - .data 0x0000000000020661 0x0 lib/lib.a(dup.o) - .data 0x0000000000020661 0x0 lib/lib.a(setsid.o) - .data 0x0000000000020661 0x0 lib/lib.a(execve.o) - .data 0x0000000000020661 0x0 lib/lib.a(wait.o) - .data 0x0000000000020661 0x0 lib/lib.a(string.o) - *fill* 0x0000000000020661 0x1f - .data 0x0000000000020680 0x50 lib/lib.a(malloc.o) - 0x0000000000020680 bucket_dir + .data 0x000000000001cee0 0x0 boot/head.o + .data 0x000000000001cee0 0x28 init/main.o + *fill* 0x000000000001cf08 0x18 + .data 0x000000000001cf20 0x1330 kernel/kernel.o + 0x000000000001cf20 sys_call_table + 0x000000000001d09c NR_syscalls + 0x000000000001e0a0 current + 0x000000000001e0c0 task + 0x000000000001e1c0 stack_start + 0x000000000001e1c8 current_DOR + .data 0x000000000001e250 0x0 mm/mm.o + *fill* 0x000000000001e250 0x10 + .data 0x000000000001e260 0x60 fs/fs.o + 0x000000000001e264 start_buffer + .data 0x000000000001e2c0 0x0 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .data 0x000000000001e2c0 0xcd kernel/blk_drv/blk_drv.a(floppy.o) + *fill* 0x000000000001e38d 0x3 + .data 0x000000000001e390 0x4 kernel/blk_drv/blk_drv.a(hd.o) + .data 0x000000000001e394 0x0 kernel/blk_drv/blk_drv.a(ramdisk.o) + *fill* 0x000000000001e394 0xc + .data 0x000000000001e3a0 0x2538 kernel/chr_drv/chr_drv.a(tty_io.o) + 0x000000000001e3a0 tty_table + 0x00000000000208c0 table_list + .data 0x00000000000208d8 0x1 kernel/chr_drv/chr_drv.a(console.o) + .data 0x00000000000208d9 0x0 kernel/chr_drv/chr_drv.a(keyboard.2.o) + .data 0x00000000000208d9 0x0 kernel/chr_drv/chr_drv.a(serial.o) + .data 0x00000000000208d9 0x0 kernel/chr_drv/chr_drv.a(rs_io.o) + *fill* 0x00000000000208d9 0x7 + .data 0x00000000000208e0 0x20 kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .data 0x0000000000020900 0x0 kernel/math/math.a(math_emulate.o) + .data 0x0000000000020900 0x101 lib/lib.a(ctype.o) + 0x0000000000020900 _ctype + .data 0x0000000000020a01 0x0 lib/lib.a(_exit.o) + .data 0x0000000000020a01 0x0 lib/lib.a(open.o) + .data 0x0000000000020a01 0x0 lib/lib.a(close.o) + .data 0x0000000000020a01 0x0 lib/lib.a(errno.o) + .data 0x0000000000020a01 0x0 lib/lib.a(write.o) + .data 0x0000000000020a01 0x0 lib/lib.a(dup.o) + .data 0x0000000000020a01 0x0 lib/lib.a(setsid.o) + .data 0x0000000000020a01 0x0 lib/lib.a(execve.o) + .data 0x0000000000020a01 0x0 lib/lib.a(wait.o) + .data 0x0000000000020a01 0x0 lib/lib.a(string.o) + *fill* 0x0000000000020a01 0x1f + .data 0x0000000000020a20 0x50 lib/lib.a(malloc.o) + 0x0000000000020a20 bucket_dir .data1 *(.data1) - 0x00000000000206d0 _edata = . - 0x00000000000206d0 PROVIDE (edata, .) - 0x00000000000206d0 . = . - 0x00000000000206d0 __bss_start = . + 0x0000000000020a70 _edata = . + 0x0000000000020a70 PROVIDE (edata, .) + 0x0000000000020a70 . = . + 0x0000000000020a70 __bss_start = . -.bss 0x00000000000206e0 0x44b0 +.bss 0x0000000000020a80 0x44b0 *(.dynbss) *(.bss .bss.* .gnu.linkonce.b.*) - .bss 0x00000000000206e0 0x0 boot/head.o - .bss 0x00000000000206e0 0x40c init/main.o - *fill* 0x0000000000020aec 0x14 - .bss 0x0000000000020b00 0x760 kernel/kernel.o - 0x0000000000020b00 jiffies - 0x0000000000020b04 startup_time - 0x0000000000020b08 last_task_used_math - 0x0000000000020e44 last_pid - .bss 0x0000000000021260 0xf20 mm/mm.o - .bss 0x0000000000022180 0x710 fs/fs.o - 0x0000000000022180 inode_table - 0x0000000000022880 nr_buffers - 0x000000000002288c ROOT_DEV - *fill* 0x0000000000022890 0x10 - .bss 0x00000000000228a0 0x58 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - 0x00000000000228a0 wait_for_request - 0x00000000000228c0 blk_dev - .bss 0x00000000000228f8 0x25 kernel/blk_drv/blk_drv.a(floppy.o) - 0x00000000000228f8 do_floppy - 0x00000000000228fc selected - 0x0000000000022900 wait_on_floppy_select - *fill* 0x000000000002291d 0x3 - .bss 0x0000000000022920 0xb0 kernel/blk_drv/blk_drv.a(hd.o) - 0x0000000000022920 do_hd - 0x0000000000022940 hd_info - .bss 0x00000000000229d0 0x4 kernel/blk_drv/blk_drv.a(ramdisk.o) - 0x00000000000229d0 rd_length - .bss 0x00000000000229d4 0x4 kernel/chr_drv/chr_drv.a(tty_io.o) - *fill* 0x00000000000229d8 0x8 - .bss 0x00000000000229e0 0xac kernel/chr_drv/chr_drv.a(console.o) - 0x00000000000229e0 beepcount - .bss 0x0000000000022a8c 0x0 kernel/chr_drv/chr_drv.a(keyboard.2.o) - .bss 0x0000000000022a8c 0x0 kernel/chr_drv/chr_drv.a(serial.o) - .bss 0x0000000000022a8c 0x0 kernel/chr_drv/chr_drv.a(rs_io.o) - .bss 0x0000000000022a8c 0x0 kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .bss 0x0000000000022a8c 0x0 kernel/math/math.a(math_emulate.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(ctype.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(_exit.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(open.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(close.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(errno.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(write.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(dup.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(setsid.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(execve.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(wait.o) - .bss 0x0000000000022a8c 0x0 lib/lib.a(string.o) - .bss 0x0000000000022a8c 0x4 lib/lib.a(malloc.o) - 0x0000000000022a8c free_bucket_desc + .bss 0x0000000000020a80 0x0 boot/head.o + .bss 0x0000000000020a80 0x40c init/main.o + *fill* 0x0000000000020e8c 0x14 + .bss 0x0000000000020ea0 0x760 kernel/kernel.o + 0x0000000000020ea0 jiffies + 0x0000000000020ea4 startup_time + 0x0000000000020ea8 last_task_used_math + 0x00000000000211e4 last_pid + .bss 0x0000000000021600 0xf20 mm/mm.o + .bss 0x0000000000022520 0x710 fs/fs.o + 0x0000000000022520 inode_table + 0x0000000000022c20 nr_buffers + 0x0000000000022c2c ROOT_DEV + *fill* 0x0000000000022c30 0x10 + .bss 0x0000000000022c40 0x58 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + 0x0000000000022c40 wait_for_request + 0x0000000000022c60 blk_dev + .bss 0x0000000000022c98 0x25 kernel/blk_drv/blk_drv.a(floppy.o) + 0x0000000000022c98 do_floppy + 0x0000000000022c9c selected + 0x0000000000022ca0 wait_on_floppy_select + *fill* 0x0000000000022cbd 0x3 + .bss 0x0000000000022cc0 0xb0 kernel/blk_drv/blk_drv.a(hd.o) + 0x0000000000022cc0 do_hd + 0x0000000000022ce0 hd_info + .bss 0x0000000000022d70 0x4 kernel/blk_drv/blk_drv.a(ramdisk.o) + 0x0000000000022d70 rd_length + .bss 0x0000000000022d74 0x4 kernel/chr_drv/chr_drv.a(tty_io.o) + *fill* 0x0000000000022d78 0x8 + .bss 0x0000000000022d80 0xac kernel/chr_drv/chr_drv.a(console.o) + 0x0000000000022d80 beepcount + .bss 0x0000000000022e2c 0x0 kernel/chr_drv/chr_drv.a(keyboard.2.o) + .bss 0x0000000000022e2c 0x0 kernel/chr_drv/chr_drv.a(serial.o) + .bss 0x0000000000022e2c 0x0 kernel/chr_drv/chr_drv.a(rs_io.o) + .bss 0x0000000000022e2c 0x0 kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .bss 0x0000000000022e2c 0x0 kernel/math/math.a(math_emulate.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(ctype.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(_exit.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(open.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(close.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(errno.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(write.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(dup.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(setsid.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(execve.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(wait.o) + .bss 0x0000000000022e2c 0x0 lib/lib.a(string.o) + .bss 0x0000000000022e2c 0x4 lib/lib.a(malloc.o) + 0x0000000000022e2c free_bucket_desc *(COMMON) - *fill* 0x0000000000022a90 0x10 - COMMON 0x0000000000022aa0 0x20 init/main.o - 0x0000000000022aa0 drive_info - COMMON 0x0000000000022ac0 0x1000 kernel/kernel.o - 0x0000000000022ac0 user_stack - COMMON 0x0000000000023ac0 0xc40 fs/fs.o - 0x0000000000023ac0 hash_table - 0x0000000000023fa0 super_block - 0x0000000000024300 file_table - COMMON 0x0000000000024700 0x480 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - 0x0000000000024700 request - COMMON 0x0000000000024b80 0x4 kernel/blk_drv/blk_drv.a(ramdisk.o) - 0x0000000000024b80 rd_start - COMMON 0x0000000000024b84 0x1 lib/lib.a(ctype.o) - 0x0000000000024b84 _ctmp - *fill* 0x0000000000024b85 0x3 - COMMON 0x0000000000024b88 0x4 lib/lib.a(errno.o) - 0x0000000000024b88 errno - COMMON 0x0000000000024b8c 0x4 lib/lib.a(string.o) - 0x0000000000024b8c ___strtok - 0x0000000000024b90 . = ALIGN ((. != 0x0)?0x4:0x1) - 0x0000000000024b90 . = ALIGN (0x4) - 0x0000000000024b90 . = SEGMENT_START ("ldata-segment", .) - 0x0000000000024b90 . = ALIGN (0x4) - 0x0000000000024b90 _end = . - 0x0000000000024b90 PROVIDE (end, .) + *fill* 0x0000000000022e30 0x10 + COMMON 0x0000000000022e40 0x20 init/main.o + 0x0000000000022e40 drive_info + COMMON 0x0000000000022e60 0x1000 kernel/kernel.o + 0x0000000000022e60 user_stack + COMMON 0x0000000000023e60 0xc40 fs/fs.o + 0x0000000000023e60 hash_table + 0x0000000000024340 super_block + 0x00000000000246a0 file_table + COMMON 0x0000000000024aa0 0x480 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + 0x0000000000024aa0 request + COMMON 0x0000000000024f20 0x4 kernel/blk_drv/blk_drv.a(ramdisk.o) + 0x0000000000024f20 rd_start + COMMON 0x0000000000024f24 0x1 lib/lib.a(ctype.o) + 0x0000000000024f24 _ctmp + *fill* 0x0000000000024f25 0x3 + COMMON 0x0000000000024f28 0x4 lib/lib.a(errno.o) + 0x0000000000024f28 errno + COMMON 0x0000000000024f2c 0x4 lib/lib.a(string.o) + 0x0000000000024f2c ___strtok + 0x0000000000024f30 . = ALIGN ((. != 0x0)?0x4:0x1) + 0x0000000000024f30 . = ALIGN (0x4) + 0x0000000000024f30 . = SEGMENT_START ("ldata-segment", .) + 0x0000000000024f30 . = ALIGN (0x4) + 0x0000000000024f30 _end = . + 0x0000000000024f30 PROVIDE (end, .) .stab *(.stab) @@ -929,144 +929,144 @@ LOAD lib/lib.a .debug_pubnames *(.debug_pubnames) -.debug_info 0x0000000000000000 0x1749a +.debug_info 0x0000000000000000 0x17581 *(.debug_info .gnu.linkonce.wi.*) .debug_info 0x0000000000000000 0x577 init/main.o - .debug_info 0x0000000000000577 0x50fa kernel/kernel.o - .debug_info 0x0000000000005671 0xc15 mm/mm.o - .debug_info 0x0000000000006286 0xa290 fs/fs.o - .debug_info 0x0000000000010516 0x932 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - .debug_info 0x0000000000010e48 0xc9f kernel/blk_drv/blk_drv.a(floppy.o) - .debug_info 0x0000000000011ae7 0xd5f kernel/blk_drv/blk_drv.a(hd.o) - .debug_info 0x0000000000012846 0xad5 kernel/blk_drv/blk_drv.a(ramdisk.o) - .debug_info 0x000000000001331b 0xacd kernel/chr_drv/chr_drv.a(tty_io.o) - .debug_info 0x0000000000013de8 0xdb0 kernel/chr_drv/chr_drv.a(console.o) - .debug_info 0x0000000000014b98 0x85c kernel/chr_drv/chr_drv.a(serial.o) - .debug_info 0x00000000000153f4 0xb47 kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .debug_info 0x0000000000015f3b 0x7b5 kernel/math/math.a(math_emulate.o) - .debug_info 0x00000000000166f0 0x66 lib/lib.a(ctype.o) - .debug_info 0x0000000000016756 0x77 lib/lib.a(_exit.o) - .debug_info 0x00000000000167cd 0xd0 lib/lib.a(open.o) - .debug_info 0x000000000001689d 0x97 lib/lib.a(close.o) - .debug_info 0x0000000000016934 0x36 lib/lib.a(errno.o) - .debug_info 0x000000000001696a 0xc9 lib/lib.a(write.o) - .debug_info 0x0000000000016a33 0x97 lib/lib.a(dup.o) - .debug_info 0x0000000000016aca 0x95 lib/lib.a(setsid.o) - .debug_info 0x0000000000016b5f 0xcb lib/lib.a(execve.o) - .debug_info 0x0000000000016c2a 0xed lib/lib.a(wait.o) - .debug_info 0x0000000000016d17 0x55e lib/lib.a(string.o) - .debug_info 0x0000000000017275 0x225 lib/lib.a(malloc.o) - -.debug_abbrev 0x0000000000000000 0x457f + .debug_info 0x0000000000000577 0x51e1 kernel/kernel.o + .debug_info 0x0000000000005758 0xc15 mm/mm.o + .debug_info 0x000000000000636d 0xa290 fs/fs.o + .debug_info 0x00000000000105fd 0x932 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .debug_info 0x0000000000010f2f 0xc9f kernel/blk_drv/blk_drv.a(floppy.o) + .debug_info 0x0000000000011bce 0xd5f kernel/blk_drv/blk_drv.a(hd.o) + .debug_info 0x000000000001292d 0xad5 kernel/blk_drv/blk_drv.a(ramdisk.o) + .debug_info 0x0000000000013402 0xacd kernel/chr_drv/chr_drv.a(tty_io.o) + .debug_info 0x0000000000013ecf 0xdb0 kernel/chr_drv/chr_drv.a(console.o) + .debug_info 0x0000000000014c7f 0x85c kernel/chr_drv/chr_drv.a(serial.o) + .debug_info 0x00000000000154db 0xb47 kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .debug_info 0x0000000000016022 0x7b5 kernel/math/math.a(math_emulate.o) + .debug_info 0x00000000000167d7 0x66 lib/lib.a(ctype.o) + .debug_info 0x000000000001683d 0x77 lib/lib.a(_exit.o) + .debug_info 0x00000000000168b4 0xd0 lib/lib.a(open.o) + .debug_info 0x0000000000016984 0x97 lib/lib.a(close.o) + .debug_info 0x0000000000016a1b 0x36 lib/lib.a(errno.o) + .debug_info 0x0000000000016a51 0xc9 lib/lib.a(write.o) + .debug_info 0x0000000000016b1a 0x97 lib/lib.a(dup.o) + .debug_info 0x0000000000016bb1 0x95 lib/lib.a(setsid.o) + .debug_info 0x0000000000016c46 0xcb lib/lib.a(execve.o) + .debug_info 0x0000000000016d11 0xed lib/lib.a(wait.o) + .debug_info 0x0000000000016dfe 0x55e lib/lib.a(string.o) + .debug_info 0x000000000001735c 0x225 lib/lib.a(malloc.o) + +.debug_abbrev 0x0000000000000000 0x4584 *(.debug_abbrev) .debug_abbrev 0x0000000000000000 0x1ed init/main.o - .debug_abbrev 0x00000000000001ed 0xfc2 kernel/kernel.o - .debug_abbrev 0x00000000000011af 0x23f mm/mm.o - .debug_abbrev 0x00000000000013ee 0x19f1 fs/fs.o - .debug_abbrev 0x0000000000002ddf 0x169 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - .debug_abbrev 0x0000000000002f48 0x27d kernel/blk_drv/blk_drv.a(floppy.o) - .debug_abbrev 0x00000000000031c5 0x23c kernel/blk_drv/blk_drv.a(hd.o) - .debug_abbrev 0x0000000000003401 0x1a8 kernel/blk_drv/blk_drv.a(ramdisk.o) - .debug_abbrev 0x00000000000035a9 0x279 kernel/chr_drv/chr_drv.a(tty_io.o) - .debug_abbrev 0x0000000000003822 0x26b kernel/chr_drv/chr_drv.a(console.o) - .debug_abbrev 0x0000000000003a8d 0x175 kernel/chr_drv/chr_drv.a(serial.o) - .debug_abbrev 0x0000000000003c02 0x18d kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .debug_abbrev 0x0000000000003d8f 0x163 kernel/math/math.a(math_emulate.o) - .debug_abbrev 0x0000000000003ef2 0x3e lib/lib.a(ctype.o) - .debug_abbrev 0x0000000000003f30 0x51 lib/lib.a(_exit.o) - .debug_abbrev 0x0000000000003f81 0x97 lib/lib.a(open.o) - .debug_abbrev 0x0000000000004018 0x75 lib/lib.a(close.o) - .debug_abbrev 0x000000000000408d 0x2c lib/lib.a(errno.o) - .debug_abbrev 0x00000000000040b9 0xa1 lib/lib.a(write.o) - .debug_abbrev 0x000000000000415a 0x75 lib/lib.a(dup.o) - .debug_abbrev 0x00000000000041cf 0x73 lib/lib.a(setsid.o) - .debug_abbrev 0x0000000000004242 0x85 lib/lib.a(execve.o) - .debug_abbrev 0x00000000000042c7 0xb6 lib/lib.a(wait.o) - .debug_abbrev 0x000000000000437d 0xe9 lib/lib.a(string.o) - .debug_abbrev 0x0000000000004466 0x119 lib/lib.a(malloc.o) - -.debug_line 0x0000000000000000 0x4808 + .debug_abbrev 0x00000000000001ed 0xfc7 kernel/kernel.o + .debug_abbrev 0x00000000000011b4 0x23f mm/mm.o + .debug_abbrev 0x00000000000013f3 0x19f1 fs/fs.o + .debug_abbrev 0x0000000000002de4 0x169 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .debug_abbrev 0x0000000000002f4d 0x27d kernel/blk_drv/blk_drv.a(floppy.o) + .debug_abbrev 0x00000000000031ca 0x23c kernel/blk_drv/blk_drv.a(hd.o) + .debug_abbrev 0x0000000000003406 0x1a8 kernel/blk_drv/blk_drv.a(ramdisk.o) + .debug_abbrev 0x00000000000035ae 0x279 kernel/chr_drv/chr_drv.a(tty_io.o) + .debug_abbrev 0x0000000000003827 0x26b kernel/chr_drv/chr_drv.a(console.o) + .debug_abbrev 0x0000000000003a92 0x175 kernel/chr_drv/chr_drv.a(serial.o) + .debug_abbrev 0x0000000000003c07 0x18d kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .debug_abbrev 0x0000000000003d94 0x163 kernel/math/math.a(math_emulate.o) + .debug_abbrev 0x0000000000003ef7 0x3e lib/lib.a(ctype.o) + .debug_abbrev 0x0000000000003f35 0x51 lib/lib.a(_exit.o) + .debug_abbrev 0x0000000000003f86 0x97 lib/lib.a(open.o) + .debug_abbrev 0x000000000000401d 0x75 lib/lib.a(close.o) + .debug_abbrev 0x0000000000004092 0x2c lib/lib.a(errno.o) + .debug_abbrev 0x00000000000040be 0xa1 lib/lib.a(write.o) + .debug_abbrev 0x000000000000415f 0x75 lib/lib.a(dup.o) + .debug_abbrev 0x00000000000041d4 0x73 lib/lib.a(setsid.o) + .debug_abbrev 0x0000000000004247 0x85 lib/lib.a(execve.o) + .debug_abbrev 0x00000000000042cc 0xb6 lib/lib.a(wait.o) + .debug_abbrev 0x0000000000004382 0xe9 lib/lib.a(string.o) + .debug_abbrev 0x000000000000446b 0x119 lib/lib.a(malloc.o) + +.debug_line 0x0000000000000000 0x4892 *(.debug_line .debug_line.* .debug_line_end) .debug_line 0x0000000000000000 0x1a9 init/main.o - .debug_line 0x00000000000001a9 0xfbf kernel/kernel.o - .debug_line 0x0000000000001168 0x2af mm/mm.o - .debug_line 0x0000000000001417 0x1c5f fs/fs.o - .debug_line 0x0000000000003076 0x197 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) - .debug_line 0x000000000000320d 0x24c kernel/blk_drv/blk_drv.a(floppy.o) - .debug_line 0x0000000000003459 0x2bf kernel/blk_drv/blk_drv.a(hd.o) - .debug_line 0x0000000000003718 0x160 kernel/blk_drv/blk_drv.a(ramdisk.o) - .debug_line 0x0000000000003878 0x33b kernel/chr_drv/chr_drv.a(tty_io.o) - .debug_line 0x0000000000003bb3 0x3ab kernel/chr_drv/chr_drv.a(console.o) - .debug_line 0x0000000000003f5e 0xd9 kernel/chr_drv/chr_drv.a(serial.o) - .debug_line 0x0000000000004037 0x1db kernel/chr_drv/chr_drv.a(tty_ioctl.o) - .debug_line 0x0000000000004212 0xe1 kernel/math/math.a(math_emulate.o) - .debug_line 0x00000000000042f3 0x28 lib/lib.a(ctype.o) - .debug_line 0x000000000000431b 0x39 lib/lib.a(_exit.o) - .debug_line 0x0000000000004354 0x62 lib/lib.a(open.o) - .debug_line 0x00000000000043b6 0x5c lib/lib.a(close.o) - .debug_line 0x0000000000004412 0x28 lib/lib.a(errno.o) - .debug_line 0x000000000000443a 0x76 lib/lib.a(write.o) - .debug_line 0x00000000000044b0 0x5a lib/lib.a(dup.o) - .debug_line 0x000000000000450a 0x77 lib/lib.a(setsid.o) - .debug_line 0x0000000000004581 0x5d lib/lib.a(execve.o) - .debug_line 0x00000000000045de 0x7a lib/lib.a(wait.o) - .debug_line 0x0000000000004658 0xc6 lib/lib.a(string.o) - .debug_line 0x000000000000471e 0xea lib/lib.a(malloc.o) + .debug_line 0x00000000000001a9 0x1043 kernel/kernel.o + .debug_line 0x00000000000011ec 0x2b1 mm/mm.o + .debug_line 0x000000000000149d 0x1c63 fs/fs.o + .debug_line 0x0000000000003100 0x197 kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .debug_line 0x0000000000003297 0x24c kernel/blk_drv/blk_drv.a(floppy.o) + .debug_line 0x00000000000034e3 0x2bf kernel/blk_drv/blk_drv.a(hd.o) + .debug_line 0x00000000000037a2 0x160 kernel/blk_drv/blk_drv.a(ramdisk.o) + .debug_line 0x0000000000003902 0x33b kernel/chr_drv/chr_drv.a(tty_io.o) + .debug_line 0x0000000000003c3d 0x3ab kernel/chr_drv/chr_drv.a(console.o) + .debug_line 0x0000000000003fe8 0xd9 kernel/chr_drv/chr_drv.a(serial.o) + .debug_line 0x00000000000040c1 0x1db kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .debug_line 0x000000000000429c 0xe1 kernel/math/math.a(math_emulate.o) + .debug_line 0x000000000000437d 0x28 lib/lib.a(ctype.o) + .debug_line 0x00000000000043a5 0x39 lib/lib.a(_exit.o) + .debug_line 0x00000000000043de 0x62 lib/lib.a(open.o) + .debug_line 0x0000000000004440 0x5c lib/lib.a(close.o) + .debug_line 0x000000000000449c 0x28 lib/lib.a(errno.o) + .debug_line 0x00000000000044c4 0x76 lib/lib.a(write.o) + .debug_line 0x000000000000453a 0x5a lib/lib.a(dup.o) + .debug_line 0x0000000000004594 0x77 lib/lib.a(setsid.o) + .debug_line 0x000000000000460b 0x5d lib/lib.a(execve.o) + .debug_line 0x0000000000004668 0x7a lib/lib.a(wait.o) + .debug_line 0x00000000000046e2 0xc6 lib/lib.a(string.o) + .debug_line 0x00000000000047a8 0xea lib/lib.a(malloc.o) .debug_frame *(.debug_frame) -.debug_str 0x0000000000000000 0x2286 +.debug_str 0x0000000000000000 0x228f *(.debug_str) .debug_str 0x0000000000000000 0x1c5 init/main.o 0x204 (size before relaxing) - .debug_str 0x00000000000001c5 0xc37 kernel/kernel.o - 0x24a4 (size before relaxing) - .debug_str 0x0000000000000dfc 0x19f mm/mm.o + .debug_str 0x00000000000001c5 0xc40 kernel/kernel.o + 0x24c3 (size before relaxing) + .debug_str 0x0000000000000e05 0x19f mm/mm.o 0x509 (size before relaxing) - .debug_str 0x0000000000000f9b 0x891 fs/fs.o + .debug_str 0x0000000000000fa4 0x891 fs/fs.o 0x496b (size before relaxing) - .debug_str 0x000000000000182c 0xec kernel/blk_drv/blk_drv.a(ll_rw_blk.o) + .debug_str 0x0000000000001835 0xec kernel/blk_drv/blk_drv.a(ll_rw_blk.o) 0x48d (size before relaxing) - .debug_str 0x0000000000001918 0x1cf kernel/blk_drv/blk_drv.a(floppy.o) + .debug_str 0x0000000000001921 0x1cf kernel/blk_drv/blk_drv.a(floppy.o) 0x66f (size before relaxing) - .debug_str 0x0000000000001ae7 0x15e kernel/blk_drv/blk_drv.a(hd.o) + .debug_str 0x0000000000001af0 0x15e kernel/blk_drv/blk_drv.a(hd.o) 0x5e4 (size before relaxing) - .debug_str 0x0000000000001c45 0x7b kernel/blk_drv/blk_drv.a(ramdisk.o) + .debug_str 0x0000000000001c4e 0x7b kernel/blk_drv/blk_drv.a(ramdisk.o) 0x58a (size before relaxing) - .debug_str 0x0000000000001cc0 0xf7 kernel/chr_drv/chr_drv.a(tty_io.o) + .debug_str 0x0000000000001cc9 0xf7 kernel/chr_drv/chr_drv.a(tty_io.o) 0x4df (size before relaxing) - .debug_str 0x0000000000001db7 0x1b9 kernel/chr_drv/chr_drv.a(console.o) + .debug_str 0x0000000000001dc0 0x1b9 kernel/chr_drv/chr_drv.a(console.o) 0x5b3 (size before relaxing) - .debug_str 0x0000000000001f70 0x1a kernel/chr_drv/chr_drv.a(serial.o) + .debug_str 0x0000000000001f79 0x1a kernel/chr_drv/chr_drv.a(serial.o) 0x3f8 (size before relaxing) - .debug_str 0x0000000000001f8a 0x8b kernel/chr_drv/chr_drv.a(tty_ioctl.o) + .debug_str 0x0000000000001f93 0x8b kernel/chr_drv/chr_drv.a(tty_ioctl.o) 0x4a3 (size before relaxing) - .debug_str 0x0000000000002015 0x70 kernel/math/math.a(math_emulate.o) + .debug_str 0x000000000000201e 0x70 kernel/math/math.a(math_emulate.o) 0x392 (size before relaxing) - .debug_str 0x0000000000002085 0x8d lib/lib.a(ctype.o) + .debug_str 0x000000000000208e 0x8d lib/lib.a(ctype.o) 0xb6 (size before relaxing) - .debug_str 0x0000000000002112 0x31 lib/lib.a(_exit.o) + .debug_str 0x000000000000211b 0x31 lib/lib.a(_exit.o) 0xde (size before relaxing) .debug_str 0x0000000000000000 0x31 lib/lib.a(open.o) 0xee (size before relaxing) - .debug_str 0x0000000000002143 0x8 lib/lib.a(close.o) + .debug_str 0x000000000000214c 0x8 lib/lib.a(close.o) 0xe0 (size before relaxing) - .debug_str 0x000000000000214b 0x8 lib/lib.a(errno.o) + .debug_str 0x0000000000002154 0x8 lib/lib.a(errno.o) 0x93 (size before relaxing) .debug_str 0x0000000000000000 0x8 lib/lib.a(write.o) 0xec (size before relaxing) - .debug_str 0x0000000000002153 0x6 lib/lib.a(dup.o) + .debug_str 0x000000000000215c 0x6 lib/lib.a(dup.o) 0xd8 (size before relaxing) - .debug_str 0x0000000000002159 0x9 lib/lib.a(setsid.o) + .debug_str 0x0000000000002162 0x9 lib/lib.a(setsid.o) 0xe8 (size before relaxing) - .debug_str 0x0000000000002162 0x9 lib/lib.a(execve.o) + .debug_str 0x000000000000216b 0x9 lib/lib.a(execve.o) 0xf1 (size before relaxing) - .debug_str 0x000000000000216b 0x11 lib/lib.a(wait.o) + .debug_str 0x0000000000002174 0x11 lib/lib.a(wait.o) 0xfe (size before relaxing) - .debug_str 0x000000000000217c 0x93 lib/lib.a(string.o) + .debug_str 0x0000000000002185 0x93 lib/lib.a(string.o) 0x147 (size before relaxing) - .debug_str 0x000000000000220f 0x77 lib/lib.a(malloc.o) + .debug_str 0x0000000000002218 0x77 lib/lib.a(malloc.o) 0x162 (size before relaxing) .debug_loc diff --git a/linux/fs/buffer.c b/linux/fs/buffer.c index cd24e0e..c45111e 100644 --- a/linux/fs/buffer.c +++ b/linux/fs/buffer.c @@ -312,7 +312,9 @@ void bread_page(unsigned long address,int dev,int b[4]) if (bh[i]) { wait_on_buffer(bh[i]); if (bh[i]->b_uptodate) - COPYBLK((unsigned long) bh[i]->b_data,address); + {COPYBLK((unsigned long) bh[i]->b_data,address);} + /* int k=0; + while(k++<10)printk("%c",bh[i]->b_data+k);printk("\n");} */ brelse(bh[i]); } } diff --git a/linux/fs/buffer.o b/linux/fs/buffer.o index fc558af..17734e5 100644 Binary files a/linux/fs/buffer.o and b/linux/fs/buffer.o differ diff --git a/linux/fs/fs.o b/linux/fs/fs.o index 5f0541b..d31ce4e 100644 Binary files a/linux/fs/fs.o and b/linux/fs/fs.o differ diff --git a/linux/include/mm.h b/linux/include/mm.h new file mode 100644 index 0000000..3939f62 --- /dev/null +++ b/linux/include/mm.h @@ -0,0 +1,22 @@ + +#ifndef _mm_H +#define _mm_H + + +extern void calc_mem(void); +extern void mem_init(long start_mem, long end_mem); +extern void do_no_page(unsigned long error_code,unsigned long address); +extern int share_page(unsigned long address); +extern int try_to_share(unsigned long address, struct task_struct * p); +extern void get_empty_page(unsigned long address); +extern void write_verify(unsigned long address); +extern void do_wp_page(unsigned long error_code,unsigned long address); +extern void un_wp_page(unsigned long * table_entry); +extern unsigned long put_page(unsigned long page,unsigned long address); +extern int copy_page_tables(unsigned long from,unsigned long to,long size); +extern int free_page_tables(unsigned long from,unsigned long size); +extern void free_page(unsigned long addr); +extern unsigned long get_free_page(void); +extern void oom(void); +extern void do_exit(long code); +#endif // MACRO diff --git a/linux/kernel/blk_drv/blk_drv.a b/linux/kernel/blk_drv/blk_drv.a index 9479e6f..96603ec 100644 Binary files a/linux/kernel/blk_drv/blk_drv.a and b/linux/kernel/blk_drv/blk_drv.a differ diff --git a/linux/kernel/chr_drv/chr_drv.a b/linux/kernel/chr_drv/chr_drv.a index c0ac46b..42bcbeb 100644 Binary files a/linux/kernel/chr_drv/chr_drv.a and b/linux/kernel/chr_drv/chr_drv.a differ diff --git a/linux/kernel/kernel.o b/linux/kernel/kernel.o index 4d890d2..d12a085 100644 Binary files a/linux/kernel/kernel.o and b/linux/kernel/kernel.o differ diff --git a/linux/kernel/sys.c b/linux/kernel/sys.c index 7aa825f..01283e9 100644 --- a/linux/kernel/sys.c +++ b/linux/kernel/sys.c @@ -3,6 +3,11 @@ * * (C) 1991 Linus Torvalds */ +#include + +#include +#include +#include #include #include #include @@ -14,8 +19,9 @@ #include #include #include -#include -#define MAP_FAILED +#include +#include +#include //ADD FOR getcwd long sys_getcwd(char *buf,size_t size) @@ -172,38 +178,7 @@ unsigned int sys_sleep(unsigned int seconds) schedule(); return 0; } -long sys_mmap(void * start,size_t len, int prot,int flags,int fd,off_t off) -{ - if(!len || off<0 || !(off%PAGE_SIZE)) return MAP_FAILED; - void * buf=start; - if(start<=current->brk || start>=current->start_stack-0x8000 || start==NULL) - { - buf=current->brk+0x2000000; - } - if(!(prot& PROT_READ)) return MAP_FAILED; - //permissions of the file - struct m_inode *inode=current->filp[fd]->f_inode; - int mode = inode->i_mode; - if (inode->i_dev && !inode->i_nlinks) - return 0; - else if (current->euid==inode->i_uid) - mode >>= 6; - else if (current->egid==inode->i_gid) - mode >>= 3; - if (!((mode & prot & 0007) == prot) || suser()) - { - printk("error permission."); - return MAP_FAILED; - } - - return MAP_FAILED; -} -int sys_munmap() -{ - - return -1; -} int sys_clone() { @@ -487,3 +462,98 @@ int sys_umask(int mask) current->umask = mask & 0777; return (old); } + + +long sys_mmap(void * start,size_t len,...)// int prot,int flags,int fd,off_t off +{ + printk("start mmaping\n"); + /* va_list args; + va_start(args,len); */ + int prot=3,flags=1,fd=3,off=0; + /* prot=va_arg(args,int);flags=va_arg(args,int);fd=va_arg(args,int); + off_t off=va_arg(args,off_t); + int *ll=&len;printk("%d,%d,%d,%d,%d\n",*ll,*(ll+1),*(ll+2),*(ll+3),*(ll+4)); + va_end(args); + printk("%d,%d,%d,%ld\n",prot,flags,fd,off); */ + int block; + size_t l=len; + struct buffer_head * bh; + char *temp,*p1,*p2; + void * buf=start; + int tempprot=0; + if(prot &PROT_READ) tempprot |=4; + if(prot &PROT_EXEC) tempprot |=1; + if(prot &PROT_WRITE) tempprot |=2; + //特殊量 + if(!len || off<0 || (off%PAGE_SIZE)) return MAP_FAILED; + if(!(prot& PROT_READ)) return MAP_FAILED; + //permissions of the file + printk("end of permissions0\n"); + printk("fd: %d\n",fd); + struct m_inode *inode=current->filp[fd]->f_inode; + printk("end of permissions\n"); + int mode = inode->i_mode; + if (inode->i_dev && !inode->i_nlinks) + {printk("end of permissions1\n");;return MAP_FAILED;} + else if (current->euid==inode->i_uid) + mode >>= 6; + else if (current->egid==inode->i_gid) + mode >>= 3; + if (!(((mode & tempprot & 0007) == tempprot) || suser())) + { + printk("error permission."); + return MAP_FAILED; + } + printk("end of permissions\n"); + if(start<=current->brk || start>=current->start_stack-0x8000 || start==NULL) + { + buf=0x2000000; + } + printk("buf: %x\n",(unsigned long )buf); + + if (!(block = inode->i_zone[0])) + return NULL; + if (!(bh = bread(inode->i_dev,block))) + return NULL; + temp = (char *) bh->b_data; + /* int nr[4]; + unsigned long page; + int i; + unsigned long address=current->start_code+(unsigned long)buf; + printk("start of page\n"); + //this part comes from do_no_page as achievement of immediate loading of cs and ds + while(address<=current->start_code+len+(unsigned long)buf) + { + printk("address: %x\n",address); + address &= 0xfffff000; + if (!(page = get_free_page())) + return MAP_FAILED; + for (i=0 ; i<4 ; block++,i++) + nr[i] = bmap(inode,block); + bread_page(page,inode->i_dev,nr); + if (!put_page(page,address)) + { + free_page(page); + return MAP_FAILED; + } + int k=0;char c=0; + while(k++<60){c=get_fs_byte(address-current->start_code);printk("%c",c);} + printk("\n"); + address+=PAGE_SIZE; + k=0; + while(k++<60)printk("%c",(char*)(page+k)); + printk("\n"); + } */ + printk("end of mmap\n"); + p1=temp;p2=buf; + while(l--) + put_fs_byte(*(p1++),p2++); + printk("%s\n",temp); + return buf; + return MAP_FAILED; +} +int sys_munmap() +{ + + return -1; +} \ No newline at end of file diff --git a/linux/kernel/sys.o b/linux/kernel/sys.o index 68d413c..a62fe81 100644 Binary files a/linux/kernel/sys.o and b/linux/kernel/sys.o differ diff --git a/linux/mm/memory.c b/linux/mm/memory.c index d2301ee..0fdf229 100644 --- a/linux/mm/memory.c +++ b/linux/mm/memory.c @@ -21,9 +21,7 @@ */ #include - #include - #include #include #include @@ -371,8 +369,8 @@ void do_no_page(unsigned long error_code,unsigned long address) unsigned long page; int block,i; - /* if (current->pid > 5) - printk(" --do_no_page: address=%x, pid=%d\n", address, current->pid); */ + if (current->pid > 5) + printk(" --do_no_page: address=%x, pid=%d\n", address, current->pid); address &= 0xfffff000; tmp = address - current->start_code; @@ -466,3 +464,5 @@ void calc_mem(void) } } } + + diff --git a/linux/mm/memory.o b/linux/mm/memory.o index 31631bf..b93288f 100644 Binary files a/linux/mm/memory.o and b/linux/mm/memory.o differ diff --git a/linux/mm/mm.o b/linux/mm/mm.o index 2b72085..0c0fede 100644 Binary files a/linux/mm/mm.o and b/linux/mm/mm.o differ diff --git a/linux/tools/system b/linux/tools/system index 962aa7a..1c65bb2 100644 Binary files a/linux/tools/system and b/linux/tools/system differ