1. 11 Oct, 2015 2 commits
  2. 23 Jul, 2015 1 commit
    • Vladimir Serbinenko's avatar
      Remove mips_attributes. · eecdbebc
      Vladimir Serbinenko authored
      mips_attributes was introduced to work around clang problems with
      -msoft-float. Those problems are now fixed and moreover .gnu_attributes
      itself is unportable and creates problem with clang.
      
      Revert "mips: Fix soft-float handling."
      
      This partially reverts commit 6a4ecd27.
      eecdbebc
  3. 24 Feb, 2015 1 commit
    • Vladimir Serbinenko's avatar
      mips: Fix soft-float handling. · 6a4ecd27
      Vladimir Serbinenko authored
      Add -msoft-float alongside clang arguments to specify ABI.
      Specify ABI in asm files explicitly.
      This trigers asm warning due to gcc failing to propagate -msoft-float
      but it's tolerable.
      6a4ecd27
  4. 18 Dec, 2013 1 commit
  5. 08 Dec, 2013 1 commit
  6. 18 Nov, 2013 1 commit
  7. 18 Oct, 2013 1 commit
  8. 26 Apr, 2013 1 commit
  9. 24 Apr, 2013 1 commit
  10. 03 Mar, 2013 1 commit
  11. 25 Feb, 2013 1 commit
  12. 17 Jun, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Speed-up video on fuloong. · 70aaf305
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/bus/bonito.c (grub_pci_device_map_range_cached):
      	New function.
      	(grub_pci_device_unmap_range): Handle non-cached address.
      	* grub-core/video/sis315pro.c (framebuffer): Remove render_target and
      	add direct_ptr.
      	(grub_video_sis315pro_video_fini): Unmap direct_ptr.
      	(grub_video_sis315pro_setup): Use cache address and grub_video_fb_setup.
      	(grub_video_sis315pro_set_active_render_target): Removed.
      	(grub_video_sis315pro_get_info_and_fini): Use uncached address.
      	(grub_video_adapter): Use grub_video_fb_set_active_render_target.
      	(grub_video_sis315pro_swap_buffers): Call grub_video_fb_swap_buffers and
      	sync caches.
      	* include/grub/mips/loongson/pci.h (grub_pci_device_map_range_cached):
      	New proto.
      70aaf305
  13. 27 Feb, 2012 1 commit
  14. 20 Jan, 2012 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      * grub-core/kern/mips/arc/init.c (grub_total_modules_size): Mark as · dad9c8b5
      Vladimir 'phcoder' Serbinenko authored
      	being in .text to avoid dprel references.
      	* include/grub/mips/loongson/kernel.h (grub_arch_machine): Likewise.
      	* include/grub/mips/loongson/memory.h (grub_arch_memsize): Likewise.
      	(grub_arch_highmemsize): Likewise.
      	* include/grub/mips/loongson/time.h (grub_arch_busclock): Likewise.
      	* include/grub/mips/qemu_mips/memory.h (grub_arch_memsize): Likewise.
      	* include/grub/mips/time.h (grub_arch_cpuclock): Likewise.
      dad9c8b5
  15. 13 Dec, 2011 1 commit
  16. 19 Oct, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Move grub_reboot out of the kernel. · 544c2487
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (reboot): Add platform-specific files.
      	* grub-core/kern/efi/efi.c (grub_reboot): Moved to ...
      	* grub-core/lib/efi/reboot.c: ... here.
      	* grub-core/kern/i386/efi/startup.S: Remove including of realmode.S.
      	* grub-core/kern/i386/ieee1275/startup.S: Likewise.
      	* grub-core/kern/i386/pc/startup.S (grub_exit): Inline cold_reboot.
      	* grub-core/kern/i386/realmode.S (grub_reboot): Moved to...
      	* grub-core/lib/i386/reboot_trampoline.S: ... here.
      	* grub-core/kern/ieee1275/openfw.c (grub_reboot): Moved to...
      	* grub-core/lib/ieee1275/reboot.c: ... here.
      	* grub-core/kern/mips/arc/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/arc/reboot.c: ... here.
      	* grub-core/kern/mips/loongson/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/loongson/reboot.c: ...here.
      	* grub-core/kern/mips/qemu_mips/init.c (grub_reboot): Moved to...
      	* grub-core/lib/mips/qemu_mips/reboot.c: ... here.
      	* include/grub/emu/misc.h (grub_reboot): New function declaration.
      	* include/grub/i386/reboot.h: New file.
      	* include/grub/mips/loongson/ec.h: Fix includes.
      	* include/grub/mips/qemu_mips/kernel.h (grub_reboot): Removed.
      	* include/grub/misc.h (grub_reboot): Don't mark as kernel function.
      	* grub-core/lib/i386/reboot.c: New file.
      544c2487
  17. 20 Aug, 2011 3 commits
    • Vladimir 'phcoder' Serbinenko's avatar
      * include/grub/mips/loongson.h (GRUB_CPU_LOONGSON_COP0_PRID): New · 0d1fd011
      Vladimir 'phcoder' Serbinenko authored
      	define.
      	* grub-core/kern/mips/loongson/init.c (grub_machine_init): Check
      	that PRID matches the detected subplatform and reset the subplatform
      	if it doesn't.
      0d1fd011
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix PCI iterating on functions >= 4. · 1227c133
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/bus/pci.c (grub_pci_iterate): Remove useless ghost skipping.
      	* include/grub/mips/loongson/pci.h (GRUB_LOONGSON_OHCI_GHOST_FUNCTION):
      	Removed.
      	(GRUB_LOONGSON_EHCI_GHOST_FUNCTION): Likewise.
      	(grub_pci_read): Fix bitmask.
      	(grub_pci_read_word): Likewise.
      	(grub_pci_read_byte): Likewise.
      	(grub_pci_write): Likewise.
      	(grub_pci_write_word): Likewise.
      	(grub_pci_write_byte): Likewise.
      1227c133
    • Vladimir 'phcoder' Serbinenko's avatar
      Rename Fuloong into Fuloong 2F. Add new ID for Fuloong2E. · 14a2562c
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (fwstart_fuloong): Rename fwstart_fuloong
      	into fwstart_fuloong2f. Use boot/mips/loongson/fuloong2f.S.
      	* grub-core/boot/mips/loongson/fuloong.S: Rename to ...
      	* grub-core/boot/mips/loongson/fuloong2f.S: ... this.
      	(FULOONG): Rename to ...
      	(FULOONG2F): ... this. All users updated.
      	* grub-core/boot/mips/startup_raw.S (machtype_fuloong_str): Rename to
      	(machtype_fuloong2f_str): ... this.
      	(machtype_fuloong2e_str): New string.
      	Check for machtype_fuloong2e_str.
      	* grub-core/loader/mips/linux.c (loongson_machtypes)
      	[GRUB_MACHINE_MIPS_LOONGSON]: Add GRUB_ARCH_MACHINE_FULOONG2E.
      	* grub-core/term/serial.c (loongson_defserial)
      	[GRUB_MACHINE_MIPS_LOONGSON]: New array.
      	(grub_serial_register) [GRUB_MACHINE_MIPS_LOONGSON]: Use
      	loongson_defserial.
      	* include/grub/mips/loongson/kernel.h (GRUB_ARCH_MACHINE_FULOONG):
      	Rename to ...
      	(GRUB_ARCH_MACHINE_FULOONG2F): ... this.
      	(GRUB_ARCH_MACHINE_FULOONG2E): New const.
      	* util/grub-mkimage.c (image_target_desc): Rename IMAGE_FULOONG_FLASH
      	to IMAGE_FULOONG2F_FLASH. All users updated.
      	(image_targets): Rename images.
      	* util/grub-mkstandalone.in: Accept fuloong2f and fuloong2e.
      14a2562c
  18. 23 Jul, 2011 1 commit
  19. 06 Jul, 2011 2 commits
    • Vladimir 'phcoder' Serbinenko's avatar
      VGA text support in qemu-mips · 93c06ff9
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/Makefile.core.def (kernel): Add term/i386/pc/vga_text.c,
      	term/i386/vga_common.c and kern/vga_init.c on qemu-mips.
      	* grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Init vga
      	text.
      	* grub-core/kern/i386/qemu/init.c: Renamed to ...
      	* grub-core/kern/vga_init.c: ... this.
      	* grub-core/kern/vga_init.c (VGA_ADDR) [__mips__]: Adjust.
      	(grub_qemu_init_cirrus) [__mips__]: Skip PCI and adjust the I/O base.
      	* grub-core/term/i386/pc/vga_text.c (VGA_TEXT_SCREEN) [__mips__]:
      	Adjust.
      	* include/grub/vga.h [GRUB_MACHINE_MIPS_QEMU_MIPS]: Declare
      	GRUB_MACHINE_PCI_IO_BASE.
      93c06ff9
    • Vladimir 'phcoder' Serbinenko's avatar
      MIPS qemu at_keyboard support. · d7345994
      Vladimir 'phcoder' Serbinenko authored
      	* gentpl.py (videoinkernel): Add qemu-mips.
      	* grub-core/Makefile.am (KERNEL_HEADER_FILES): Add necessary headers.
      	* grub-core/Makefile.core.def (kernel): Add at_keyboard and layout.
      	* grub-core/kern/mips/qemu_mips/init.c (grub_machine_init): Init new
      	modules.
      	* grub-core/term/at_keyboard.c (grub_keyboard_controller_init)
      	[GRUB_MACHINE_MIPS_QEMU_MIPS]: Don't consider original set.
      	* grub-core/term/serial.c (grub_serial_register)
      	[GRUB_MACHINE_MIPS_QEMU_MIPS]: Make com0 explicitly active.
      d7345994
  20. 17 May, 2011 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Prevent potential loss of memory map by overwrite on qemu-mips. · 566a1917
      Vladimir 'phcoder' Serbinenko authored
      	* grub-core/boot/mips/startup_raw.S [GRUB_MACHINE_MIPS_QEMU_MIPS]:
      	Save ram size in $s4.
      	* grub-core/kern/mips/qemu_mips/init.c (RAMSIZE): Removed.
      	All users changed to grub_arch_memsize.
      	* grub-core/kern/mips/startup.S (grub_arch_machine): Restrict to
      	Loongson.
      	[GRUB_MACHINE_MIPS_QEMU_MIPS]: Save grub_arch_memsize.
      	* grub-core/loader/mips/linux.c (grub_linux_boot): Pass memory size.
      	* include/grub/mips/qemu_mips/memory.h (grub_arch_memsize): New
      	external variable.
      566a1917
  21. 13 May, 2011 1 commit
  22. 19 Feb, 2011 1 commit
  23. 19 Jan, 2011 1 commit
  24. 18 Jan, 2011 1 commit
  25. 14 Jan, 2011 1 commit
  26. 11 Sep, 2010 1 commit
    • Vladimir 'phcoder' Serbinenko's avatar
      Fix emu on mipsel. · 050abaea
      Vladimir 'phcoder' Serbinenko authored
      	* conf/Makefile.common (CFLAGS_PLATFORM): Add -mflush-func
      	=grub_cpu_flush_cache on all mips and not only yeeloong.
      	* configure.ac (COND_mips): New conditional.
      	* grub-core/Makefile.am (KERNEL_HEADER_FILES): Add libgcc on all
      	platforms.
      	* grub-core/kern/emu/cache.S (__mips__): Use _flush_cache.
      	* grub-core/kern/emu/full.c (grub_arch_dl_init_linker)
      	[GRUB_LINKER_HAVE_INIT]: New function.
      	(grub_emu_post_init): Likewise.
      	* grub-core/kern/emu/lite.c (grub_emu_post_init): Likewise.
      	* grub-core/kern/emu/main.c: Use grub_emu_post_init.
      	* include/grub/cache.h (_mips): Include mips/cache.h.
      	* include/grub/disk.h [GRUB_UTIL || GRUB_MACHINE_EMU]: Add missing
      	LVM and RAID prototypes.
      	* include/grub/emu/misc.h (grub_emu_post_init): New proto.
      	* include/grub/mips/time.h (grub_cpu_idle) [GRUB_MACHINE_EMU]: New
      	function.
      050abaea
  27. 04 Sep, 2010 1 commit
  28. 17 Aug, 2010 1 commit
  29. 31 May, 2010 1 commit
  30. 23 May, 2010 2 commits
  31. 06 May, 2010 1 commit
  32. 02 May, 2010 1 commit
  33. 29 Apr, 2010 1 commit
  34. 27 Apr, 2010 1 commit
  35. 26 Apr, 2010 1 commit