Skip to content

Commits

Permalink
wip
Switch branches/tags

Name already in use

A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?

Commits on Apr 29, 2020

  1. fix conflict

    AlmuHS committed Apr 29, 2020
    Copy the full SHA
    5f0ddbd View commit details
    Browse the repository at this point in the history

Commits on Apr 23, 2020

  1. fix conflict

    AlmuHS committed Apr 23, 2020
    Copy the full SHA
    f1d5b95 View commit details
    Browse the repository at this point in the history
  2. fix conflict

    AlmuHS committed Apr 23, 2020
    Copy the full SHA
    e6c7cb0 View commit details
    Browse the repository at this point in the history
  3. fix conflict

    AlmuHS committed Apr 23, 2020
    Copy the full SHA
    f98a850 View commit details
    Browse the repository at this point in the history
  4. fix conflict

    AlmuHS committed Apr 23, 2020
    Copy the full SHA
    7312fcb View commit details
    Browse the repository at this point in the history

Commits on Dec 15, 2019

  1. thread_set_run: added even more prints

    AlmuHS committed Dec 15, 2019
    Copy the full SHA
    2db2e41 View commit details
    Browse the repository at this point in the history
  2. Copy the full SHA
    08380ee View commit details
    Browse the repository at this point in the history
  3. thread_set_run: added some prints

    AlmuHS committed Dec 15, 2019
    Copy the full SHA
    da0a4a4 View commit details
    Browse the repository at this point in the history

Commits on Dec 9, 2019

  1. Merge branch 'master' into wip

    resync master into wip
    AlmuHS committed Dec 9, 2019
    Copy the full SHA
    5b03df5 View commit details
    Browse the repository at this point in the history

Commits on Dec 1, 2019

  1. i386: use 64bit precision by default

    This is the System V ABI default.
    
    * i386/i386/fpu.c (fpinit): Use FPC_PC_64 instead of FPC_PC_53.
    (fp_state_alloc): Likewise.
    sthibaul committed Dec 1, 2019
    Copy the full SHA
    fd616c8 View commit details
    Browse the repository at this point in the history

Commits on Nov 22, 2019

  1. ext2fs: bind ext2fs thread to cpu 0

    AlmuHS committed Nov 22, 2019
    Copy the full SHA
    1fc2596 View commit details
    Browse the repository at this point in the history

Commits on Nov 17, 2019

  1. Merge branch 'master' into wip

    resync with master
    AlmuHS committed Nov 17, 2019
    Copy the full SHA
    e5a7137 View commit details
    Browse the repository at this point in the history

Commits on Nov 11, 2019

  1. irq: Add disabling counter

    * linux/dev/arch/i386/kernel/irq.c (ndisabled_irq): New array.
    (__disable_irq, __enable_irq): New functions, count with ndisabled_irq
    before really calling mask_irq/unmask_irq.
    (linux_pic_mask): New variable.
    (disable_irq, enable_irq): Manage linux_pic_mask and call
    __disable_irq/__enable_irq instead of calling mask_irq/unmask_irq.
    * linux/src/include/asm-i386/irq.h (__disable_irq, __enable_irq): New
    prototypes.
    sthibaul committed Nov 11, 2019
    Copy the full SHA
    097f9cf View commit details
    Browse the repository at this point in the history
  2. PIC: Acknowledge interrupts more carefully

    Specs seems to be saying that we should mask an irq out while
    acknowledging it with EOI. Also, better acknowledge only the concerned
    irq.
    
    * i386/i386at/interrupt.S (interrupt): Mask irq before notifying EOI.
    Using specific EOI instead of unspecific EOI.
    sthibaul committed Nov 11, 2019
    Copy the full SHA
    1fc9b4b View commit details
    Browse the repository at this point in the history
  3. PIC: fix EOI values

    * i386/i386/pic.h (SPECIFIC_EOI, ROT_NON_SPEC, SET_ROT_AEOI,
    ROT_SPEC_EOI, SET_PRIORITY, NO_OPERATION): Shift value left by one bit.
    sthibaul committed Nov 11, 2019
    Copy the full SHA
    8be4361 View commit details
    Browse the repository at this point in the history
  4. intnull: Only warn once.

    On real hardware, irq 7 seems to get raised often for some reason.
    
    * i386/i386/pic.c (intnull): Only print once the warning about interrupt
    being unexpectedly raised.
    sthibaul committed Nov 11, 2019
    Copy the full SHA
    3693b18 View commit details
    Browse the repository at this point in the history

Commits on Nov 10, 2019

  1. spl: Remove intpri array

    And simplify prtnull vs intnull vs linux_bad_intr.
    
    * i386/i386/ipl.h (intpri): Remove declaration
    * i386/i386/pic.c (prtnull_count): Remove variable.
    (prtnull): Remove function.
    * i386/i386/pic.h (prtnull): Remove declaration.
    * i386/i386at/autoconf.c (take_dev_irq, take_ctlr_irq): Use ivect instead of
    intpri to determine irq availability. Do not set intpri.
    * i386/i386at/pic_isa.c (ivect): Replace prtnull with intnull.
    (intpri): Remove array.
    * linux/dev/arch/i386/kernel/irq.c (linux_intr_pri): Remove variable.
    (linux_bad_intr): Remove function.
    (setup_x86_irq): Do not check intpri coherency. Do not set intpri. Set
    default ivect to intnull instead of linux_bad_intr.
    (probe_irq_on): Check ivect against intnull instead of linux_bad_intr.
    Do not set intpri.
    (probe_irq_off): Likewise.
    (reserve_mach_irqs): Do not check against prtnull.
    (old_clock_pri): Remove variable.
    (init_IRQ): Do not set intpri. Do not set ivect to linux_bad_intr.
    (restore_IRQ): Do not set ivect.
    * i386/i386/pit.c (clkstart): Do not set intpri.
    * i386/i386at/kd_mouse.c (kd_mouse_open, kd_mouse_close): Likewise.
    * linux/dev/drivers/block/genhd.c (device_setup): Do not set linux_intr_pri.
    * linux/dev/glue/block.c (init_partition, device_open): Likewise.
    * linux/dev/glue/net.c (device_open): Likewise.
    * linux/dev/glue/glue.h (linux_intr_pri, linux_bad_intr): Remove
    declarations.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    e45601b View commit details
    Browse the repository at this point in the history
  2. Make default boot less scary

    * linux/configfrag.ac (AM53C974, aha1542, eata, eata_pio, ppa, wd7000,
    3c515, de600, de620): Disable by default drivers for elder hardware,
    which have scary boot messages.
    * linux/pcmcia-cs/modules/ds.c (init_pcmcia_ds): Make message about
    socket not being found less scary.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    7f51764 View commit details
    Browse the repository at this point in the history
  3. Fix build warning

    * ddb/db_command.c: Include <ipc/mach_port.h>.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    bd0193c View commit details
    Browse the repository at this point in the history
  4. Run interrupt handlers at spl7

    * i386/i386at/interrupt.S (interrupt): Call spl7 instead of the
    intpri-provided one.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    b688ffc View commit details
    Browse the repository at this point in the history
  5. simplify interrupt handling

    We have removed spl levels, now remove the machinery to manage different
    PIC masks according to levels. Only keep machinery to disable interrupts
    whatever the level.
    
    * i386/i386/pic.c (pic_mask): Remove array.
    (picinit): Do not form PIC mask. Set initial PIC mask to 0.
    (form_pic_mask): Remove function.
    * i386/i386/pic.h (form_pic_mask, pic_mask): Remove declarations.
    * i386/i386/spl.S (SETMASK): Remove macro.
    (XEN_SETMASK): Add macro, containing the Xen version of SETMASK.
    (spl0, splx_cli, spl) [MACH_XEN]: Call XEN_SETMASK instead of SETMASK.
    * i386/i386/pit.c (clkstart): Do not call form_pic_mask.
    * i386/i386at/autoconf.c (take_dev_irq, take_ctlr_irq): Likewise.
    * i386/i386at/kd_mouse.c (kd_mouse_open, kd_mouse_close): Likewise.
    * linux/dev/arch/i386/kernel/irq.c (mask_irq, unmask_irq): Directly update
    curr_pic_mask without using pic_mask array.
    (init_IRQ, restore_IRQ): do not call form_pic_mask.
    * linux/dev/include/asm-i386/system.h: Include <i386/ipl.h>.
    (__save_flags, __restore_flags): Use curr_ipl and splx instead of
    hardware flags.
    * linux/dev/init/main.c (linux_init): Do not call cli.
    * linux/dev/kernel/sched.c (linux_timer_intr): Do not use pic_mask.
    * linux/src/drivers/block/ide.c (try_to_identify): Disable irq probing.
    * linux/src/drivers/scsi/NCR53c406a.c (NCR53c406a_detect): Disable irq
    probing.
    zamaudio authored and sthibaul committed Nov 10, 2019
    Copy the full SHA
    1d34167 View commit details
    Browse the repository at this point in the history
  6. ide: Use default IRQ by default

    To avoid even trying to probe IRQs. Nowadays' hardware use the default
    IRQ anyway.
    
    * linux/src/drivers/block/ide.c (init_hwif_data): Set hwif->irq to
    default_irqs[index].
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    09c207e View commit details
    Browse the repository at this point in the history
  7. spl: Squash levels 1-6 into level 7

    * i386/i386/spl.S (SETIPL): Remove macro.
    (splsoftclock, spl1, spl2, spl3, splnet, splhdw, spl4, splbio, spldcm,
    spl5, spltty, splimp, splvm, spl6): Move entries to the spl7 entry.
    zamaudio authored and sthibaul committed Nov 10, 2019
    Copy the full SHA
    de7a51d View commit details
    Browse the repository at this point in the history
  8. pmap: fix format warnings

    * i386/intel/pmap.c (pmap_bootstrap, pmap_set_page_readwrite,
    pmap_set_page_readonly, pmap_set_page_readonly_init,
    pmap_clear_bootstrap_pagetable, pmap_map_mfn, pmap_destroy, pmap_enter,
    pmap_collect, phys_attribute_clear): Fix format warnings.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    e25084d View commit details
    Browse the repository at this point in the history
  9. Xen: fix boot

    Xen seems to want a whole page for the PAE pdp.
    
    * i386/intel/pmap.c (pmap_init): Make pdpt cache use page-size
    allocation.
    sthibaul committed Nov 10, 2019
    Copy the full SHA
    5a5ab8f View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2019

  1. refactor: redeclared cpu_ap_main() as void

    AlmuHS committed Nov 2, 2019
    Copy the full SHA
    ec4fbb3 View commit details
    Browse the repository at this point in the history
  2. debug: remove traces

    AlmuHS committed Nov 2, 2019
    Copy the full SHA
    524d35b View commit details
    Browse the repository at this point in the history
  3. debug: remove traces

    AlmuHS committed Nov 2, 2019
    Copy the full SHA
    29a0fd7 View commit details
    Browse the repository at this point in the history
  4. debug: remove traces

    AlmuHS committed Nov 2, 2019
    Copy the full SHA
    133b3d1 View commit details
    Browse the repository at this point in the history
  5. debug: remove traces

    AlmuHS committed Nov 2, 2019
    Copy the full SHA
    82dcb38 View commit details
    Browse the repository at this point in the history
  6. Copy the full SHA
    1ac2cae View commit details
    Browse the repository at this point in the history

Commits on Nov 1, 2019

  1. debug: improved some traces

    AlmuHS committed Nov 1, 2019
    Copy the full SHA
    8344650 View commit details
    Browse the repository at this point in the history
  2. debug: add more traces

    AlmuHS committed Nov 1, 2019
    Copy the full SHA
    b67f733 View commit details
    Browse the repository at this point in the history
  3. debug: improved some traces

    AlmuHS committed Nov 1, 2019
    Copy the full SHA
    c4654df View commit details
    Browse the repository at this point in the history
  4. fix: readd ast raise in master_processor

    AlmuHS committed Nov 1, 2019
    Copy the full SHA
    ac96c09 View commit details
    Browse the repository at this point in the history
Older