File manager - Edit - /home/newsbmcs.com/public_html/static/img/logo/mach-dreamcast.zip
Back
PK rx�ZPݪ� � Makefilenu �[��� # SPDX-License-Identifier: GPL-2.0 # # Makefile for the Sega Dreamcast specific parts of the kernel # obj-y := setup.o irq.o obj-$(CONFIG_RTC_DRV_GENERIC) += rtc.o PK ��Zy�<�{ { mach/maple.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 */ #ifndef __ASM_MAPLE_H #define __ASM_MAPLE_H #define MAPLE_PORTS 4 #define MAPLE_PNP_INTERVAL HZ #define MAPLE_MAXPACKETS 8 #define MAPLE_DMA_ORDER 14 #define MAPLE_DMA_SIZE (1 << MAPLE_DMA_ORDER) #define MAPLE_DMA_PAGES ((MAPLE_DMA_ORDER > PAGE_SHIFT) ? \ MAPLE_DMA_ORDER - PAGE_SHIFT : 0) /* Maple Bus registers */ #define MAPLE_BASE 0xa05f6c00 #define MAPLE_DMAADDR (MAPLE_BASE+0x04) #define MAPLE_TRIGTYPE (MAPLE_BASE+0x10) #define MAPLE_ENABLE (MAPLE_BASE+0x14) #define MAPLE_STATE (MAPLE_BASE+0x18) #define MAPLE_SPEED (MAPLE_BASE+0x80) #define MAPLE_RESET (MAPLE_BASE+0x8c) #define MAPLE_MAGIC 0x6155404f #define MAPLE_2MBPS 0 #define MAPLE_TIMEOUT(n) ((n)<<15) /* Function codes */ #define MAPLE_FUNC_CONTROLLER 0x001 #define MAPLE_FUNC_MEMCARD 0x002 #define MAPLE_FUNC_LCD 0x004 #define MAPLE_FUNC_CLOCK 0x008 #define MAPLE_FUNC_MICROPHONE 0x010 #define MAPLE_FUNC_ARGUN 0x020 #define MAPLE_FUNC_KEYBOARD 0x040 #define MAPLE_FUNC_LIGHTGUN 0x080 #define MAPLE_FUNC_PURUPURU 0x100 #define MAPLE_FUNC_MOUSE 0x200 #endif /* __ASM_MAPLE_H */ PK ��Z�y�� � mach/dma.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 * * include/asm-sh/dreamcast/dma.h * * Copyright (C) 2003 Paul Mundt */ #ifndef __ASM_SH_DREAMCAST_DMA_H #define __ASM_SH_DREAMCAST_DMA_H /* Number of DMA channels */ #define G2_NR_DMA_CHANNELS 4 /* Channels for cascading */ #define PVR2_CASCADE_CHAN 2 #define G2_CASCADE_CHAN 3 /* PVR2 DMA Registers */ #define PVR2_DMA_BASE 0xa05f6800 #define PVR2_DMA_ADDR (PVR2_DMA_BASE + 0) #define PVR2_DMA_COUNT (PVR2_DMA_BASE + 4) #define PVR2_DMA_MODE (PVR2_DMA_BASE + 8) #define PVR2_DMA_LMMODE0 (PVR2_DMA_BASE + 132) #define PVR2_DMA_LMMODE1 (PVR2_DMA_BASE + 136) /* G2 DMA Register */ #define G2_DMA_BASE 0xa05f7800 #endif /* __ASM_SH_DREAMCAST_DMA_H */ PK ��ZK�%7 7 mach/pci.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 * * include/asm-sh/dreamcast/pci.h * * Copyright (C) 2001, 2002 M. R. Brown * Copyright (C) 2002, 2003 Paul Mundt */ #ifndef __ASM_SH_DREAMCAST_PCI_H #define __ASM_SH_DREAMCAST_PCI_H #include <mach-dreamcast/mach/sysasic.h> #define GAPSPCI_REGS 0x01001400 #define GAPSPCI_DMA_BASE 0x01840000 #define GAPSPCI_DMA_SIZE 32768 #define GAPSPCI_BBA_CONFIG 0x01001600 #define GAPSPCI_BBA_CONFIG_SIZE 0x2000 #define GAPSPCI_IRQ HW_EVENT_EXTERNAL extern struct pci_ops gapspci_pci_ops; #endif /* __ASM_SH_DREAMCAST_PCI_H */ PK ��Z��� mach/sysasic.hnu �[��� /* SPDX-License-Identifier: GPL-2.0 * * include/asm-sh/dreamcast/sysasic.h * * Definitions for the Dreamcast System ASIC and related peripherals. * * Copyright (c) 2001 M. R. Brown <mrbrown@linuxdc.org> * Copyright (C) 2003 Paul Mundt <lethal@linux-sh.org> * * This file is part of the LinuxDC project (www.linuxdc.org) */ #ifndef __ASM_SH_DREAMCAST_SYSASIC_H #define __ASM_SH_DREAMCAST_SYSASIC_H #include <asm/irq.h> /* Hardware events - Each of these events correspond to a bit within the Event Mask Registers/ Event Status Registers. Because of the virtual IRQ numbering scheme, a base offset must be used when calculating the virtual IRQ that each event takes. */ #define HW_EVENT_IRQ_BASE 48 /* IRQ 13 */ #define HW_EVENT_VSYNC (HW_EVENT_IRQ_BASE + 5) /* VSync */ #define HW_EVENT_MAPLE_DMA (HW_EVENT_IRQ_BASE + 12) /* Maple DMA complete */ #define HW_EVENT_GDROM_DMA (HW_EVENT_IRQ_BASE + 14) /* GD-ROM DMA complete */ #define HW_EVENT_G2_DMA (HW_EVENT_IRQ_BASE + 15) /* G2 DMA complete */ #define HW_EVENT_PVR2_DMA (HW_EVENT_IRQ_BASE + 19) /* PVR2 DMA complete */ /* IRQ 11 */ #define HW_EVENT_GDROM_CMD (HW_EVENT_IRQ_BASE + 32) /* GD-ROM cmd. complete */ #define HW_EVENT_AICA_SYS (HW_EVENT_IRQ_BASE + 33) /* AICA-related */ #define HW_EVENT_EXTERNAL (HW_EVENT_IRQ_BASE + 35) /* Ext. (expansion) */ #define HW_EVENT_IRQ_MAX (HW_EVENT_IRQ_BASE + 95) /* arch/sh/boards/mach-dreamcast/irq.c */ extern int systemasic_irq_demux(int); extern void systemasic_irq_init(void); #endif /* __ASM_SH_DREAMCAST_SYSASIC_H */ PK rx�ZPݪ� � Makefilenu �[��� PK ��Zy�<�{ { � mach/maple.hnu �[��� PK ��Z�y�� � � mach/dma.hnu �[��� PK ��ZK�%7 7 � mach/pci.hnu �[��� PK ��Z��� � mach/sysasic.hnu �[��� PK v V
| ver. 1.4 |
Github
|
.
| PHP 8.2.28 | Generation time: 0.02 |
proxy
|
phpinfo
|
Settings