<feed xmlns='http://www.w3.org/2005/Atom'>
<title>teythoon/gnumach.git/linux/dev/glue, branch master</title>
<subtitle>Personal GNU Mach development repository</subtitle>
<id>https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master</id>
<link rel='self' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/'/>
<updated>2015-02-20T17:59:50Z</updated>
<entry>
<title>linux: fix compiler warning</title>
<updated>2015-02-20T17:59:50Z</updated>
<author>
<name>Justus Winter</name>
<email>4winter@informatik.uni-hamburg.de</email>
</author>
<published>2014-12-19T01:02:44Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=f2550dfc73da3951b411157d73bb4ad7bd2ea0b2'/>
<id>urn:sha1:f2550dfc73da3951b411157d73bb4ad7bd2ea0b2</id>
<content type='text'>
If the loop above completes at least one iteration, `i' will be larger
than zero.

* linux/dev/glue/block.c (rdwr_full): Add assertion to appease the
compiler.
</content>
</entry>
<entry>
<title>Fix prototype</title>
<updated>2014-04-04T20:14:50Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-04-04T20:14:50Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=2aa14940b85cd3a38eff6ad4471ebf40a0074cb2'/>
<id>urn:sha1:2aa14940b85cd3a38eff6ad4471ebf40a0074cb2</id>
<content type='text'>
* linux/dev/glue/block.c (device_set_status): Fix prototype.
</content>
</entry>
<entry>
<title>Add quiet flag to block I/O</title>
<updated>2014-02-09T23:04:34Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2014-02-09T23:04:34Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=abb50be5ea5c374cdb25f05eafdf8afac9b854b1'/>
<id>urn:sha1:abb50be5ea5c374cdb25f05eafdf8afac9b854b1</id>
<content type='text'>
This avoids grub &amp; such making Mach print flurries of floppy errors.

* linux/dev/include/linux/blkdev.h (request): Add `quiet' field.
* linux/dev/include/linux/blk.h (end_request): Print I/O error only if
the `quiet' field of the request is 0.
* linux/dev/include/linux/fs.h (ll_rw_block): Add `quiet' parameter.
* linux/dev/glue/block.c (ll_rw_block): Add `quiet' parameter, copied into
the request.
(bread, rdwr_partial, rdwr_full): Pass 0 to `ll_rw_block''s `quiet' parameter.
* linux/dev/drivers/block/floppy.c (floppy_revalidate): Pass 1 to
`ll_rw_block''s `quiet' parameter.
</content>
</entry>
<entry>
<title>Add AHCI driver</title>
<updated>2013-05-10T16:59:12Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-05-10T16:56:26Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=75c1b0d1133a7ae6a7eb45818470f453700df1a2'/>
<id>urn:sha1:75c1b0d1133a7ae6a7eb45818470f453700df1a2</id>
<content type='text'>
* linux/dev/glue/kmem.c (vmtophys): New function.
* linux/dev/include/linux/mm.h (vmtophys): New prototype.
* linux/src/include/linux/pci.h (PCI_CLASS_STORAGE_SATA,
PCI_CLASS_STORAGE_SATA_AHCI): New macros.
* linux/dev/drivers/block/ahci.c: New file.
* linux/dev/include/ahci.h: New file.
* linux/Makefrag.am (liblinux_a_SOURCES): Add linux/dev/drivers/block/ahci.c
and linux/dev/drivers/block/ahci.h.
* linux/src/drivers/block/ide.c: Include &lt;ahci.h&gt;.
(probe_for_hwifs): Call ahci_probe_pci.
</content>
</entry>
<entry>
<title>Fix non-block-aligned-offset reads</title>
<updated>2013-05-01T23:11:31Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-05-01T23:11:31Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=a750e58b21c05cffd81f460a72ed4dd6d27ee5ec'/>
<id>urn:sha1:a750e58b21c05cffd81f460a72ed4dd6d27ee5ec</id>
<content type='text'>
This fixes grave issues when device_read is called with non-block-aligned
offset, e.g. when using grub-probe with a non-block-aligned partition table.

* linux/dev/glue/block.c (rdwr_full): Use current position instead of base
buffer position to check for alignment.
</content>
</entry>
<entry>
<title>Fix macro name</title>
<updated>2013-05-01T21:35:19Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2013-05-01T21:35:19Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=342cfcb319cad816da5472c8fe5ca82372965088'/>
<id>urn:sha1:342cfcb319cad816da5472c8fe5ca82372965088</id>
<content type='text'>
* linux/dev/glue/block.c (device_get_status): Use
DEV_GET_RECORDS_RECORD_SIZE for DEV_GET_RECORDS instead of
DEV_GET_SIZE_RECORD_SIZE.
</content>
</entry>
<entry>
<title>Fix CDROM door unlock on closure without device_close</title>
<updated>2012-09-22T22:38:46Z</updated>
<author>
<name>Alexey Dejneka</name>
<email>adejneka@comail.ru</email>
</author>
<published>2012-09-22T22:31:10Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=a564ecbc2cb4441ebac32ac5300bc7840569eb30'/>
<id>urn:sha1:a564ecbc2cb4441ebac32ac5300bc7840569eb30</id>
<content type='text'>
* linux/dev/glue/block.c
(device_open): Properly return devp on multiple opens.
(device_close_forced): Renamed from device_close, when force parameter is 1, do
not wait for open_count to become 0 before closing.
(device_close): New function.
(device_no_senders): New function.
linux_block_emulation_ops: Use (device_no_senders).
</content>
</entry>
<entry>
<title>Add missing phystokv/kvtophys calls</title>
<updated>2012-03-24T01:54:49Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-23T01:19:44Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=264b750cc2d576beadfd74bcde45ac75edc4aab9'/>
<id>urn:sha1:264b750cc2d576beadfd74bcde45ac75edc4aab9</id>
<content type='text'>
* i386/i386/vm_param.h [!MACH_XEN]: Do not include &lt;xen/public/xen.h&gt;.
* i386/i386at/model_dep.c (init_alloc_aligned): Use phystokv to compare physical
memory addresses with kernel start, end, and symbol table.
* i386/intel/pmap.c (pmap_enter): Use kvtophys to convert ptp pointer to pte
entry.
* linux/dev/init/main.c (alloc_contig_mem, linux_init): Use phystokv to convert
allocated pages to virtual pointer.
* linux/src/include/asm-i386/io.h: Include &lt;machine/vm_param.h&gt;.
(virt_to_phys): Call _kvtophys.
(phys_to_virt): Call phystokv.
* linux/src/include/linux/compatmac.h: Include &lt;asm/io.h&gt;.
(ioremap): Use phys_to_virt to convert physical address to virtual pointer.
(my_iounmap): Likewise.
* linux/dev/include/asm-i386/page.h: Include &lt;mach/vm_param.h&gt;.
(PAGE_SHIFT, PAGE_SIZE, PAGE_MASK): Remove macros.
* linux/src/drivers/scsi/ncr53c8xx.c (vm_size_t): Remove type.
* linux/dev/glue/net.c: Include &lt;machine/vm_param.h&gt;
(device_write): Call phystokv to convert from physical page address to
virtual pointer.
* linux/dev/glue/block.c (alloc_buffer, free_buffer, rdwr_full): Likewise.
</content>
</entry>
<entry>
<title>Fix issig crash at boot</title>
<updated>2012-03-24T01:54:05Z</updated>
<author>
<name>Samuel Thibault</name>
<email>samuel.thibault@ens-lyon.org</email>
</author>
<published>2012-03-24T01:47:20Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=7effecf87173a122c95427dafa971abbbdba3493'/>
<id>urn:sha1:7effecf87173a122c95427dafa971abbbdba3493</id>
<content type='text'>
* linux/dev/glue/misc.c (issig): Return 0 if current_thread() is NULL.
</content>
</entry>
<entry>
<title>Change types holding cpu flags from int to long</title>
<updated>2012-03-20T01:09:13Z</updated>
<author>
<name>Guillem Jover</name>
<email>guillem@debian.org</email>
</author>
<published>2009-12-09T01:59:26Z</published>
<link rel='alternate' type='text/html' href='https://darnassus.sceen.net/cgit/teythoon/gnumach.git/commit/?id=735cf19fdebf4a3df886426a51cad78b7ef025f2'/>
<id>urn:sha1:735cf19fdebf4a3df886426a51cad78b7ef025f2</id>
<content type='text'>
On amd64 the cpu flags is a 64-bit word, and long on 32-bit systems is
32-bit wide anyway.

* linux/dev/glue/kmem.c (linux_kmalloc, linux_kfree, __get_free_pages,
free_pages): Use unsigned long instead of unsigned.
* linux/dev/include/asm-i386/system.h (__save_flags, __restore_flags):
Likewise.
* linux/dev/kernel/printk.c (printk): Likewise.
* linux/src/drivers/scsi/advansys.c (DvcEnterCritical, DvcLeaveCritical,
advansys_queuecommand, advansys_abort, advansys_reset, advansys_interrupt,
interrupts_enabled, AdvISR): Likewise.
* linux/src/drivers/scsi/aha152x.c (aha152x_intr): Likewise.
* linux/src/drivers/scsi/aha1542.c (aha1542_intr_handle): Likewise.
* linux/src/drivers/scsi/aic7xxx.c (aic7xxx_done_cmds_complete): Likewise.
* linux/src/drivers/scsi/ultrastor.c (log_ultrastor_abort,
ultrastor_queuecommand, ultrastor_abort): Likewise.
</content>
</entry>
</feed>
