mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2024-12-29 13:03:36 +01:00
replace gint/std headers with standard ones
This commit is contained in:
parent
20b7238057
commit
8e730c2f78
15 changed files with 34 additions and 19 deletions
|
@ -3,13 +3,13 @@
|
||||||
//---
|
//---
|
||||||
|
|
||||||
#include <gint/defs/types.h>
|
#include <gint/defs/types.h>
|
||||||
#include <gint/std/stdlib.h>
|
|
||||||
|
|
||||||
#include <gint/drivers/t6k11.h>
|
#include <gint/drivers/t6k11.h>
|
||||||
#include <gint/gray.h>
|
#include <gint/gray.h>
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
#include <gint/timer.h>
|
#include <gint/timer.h>
|
||||||
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "../render-fx/render-fx.h"
|
#include "../render-fx/render-fx.h"
|
||||||
|
|
||||||
/* Three additional video RAMS, allocated statically if --static-gray was set
|
/* Three additional video RAMS, allocated statically if --static-gray was set
|
||||||
|
|
|
@ -5,7 +5,8 @@
|
||||||
#include <gint/hardware.h>
|
#include <gint/hardware.h>
|
||||||
#include <gint/cpu.h>
|
#include <gint/cpu.h>
|
||||||
#include <gint/mpu/intc.h>
|
#include <gint/mpu/intc.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
//---
|
//---
|
||||||
// Interrupt controllers
|
// Interrupt controllers
|
||||||
|
|
|
@ -8,7 +8,8 @@
|
||||||
#include <gint/defs/types.h>
|
#include <gint/defs/types.h>
|
||||||
#include <gint/defs/util.h>
|
#include <gint/defs/util.h>
|
||||||
#include <gint/mpu/pfc.h>
|
#include <gint/mpu/pfc.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* Holds information about the current platform */
|
/* Holds information about the current platform */
|
||||||
GBSS uint32_t gint[HW_KEYS];
|
GBSS uint32_t gint[HW_KEYS];
|
||||||
|
|
|
@ -4,14 +4,15 @@
|
||||||
|
|
||||||
#include <gint/gint.h>
|
#include <gint/gint.h>
|
||||||
#include <gint/drivers.h>
|
#include <gint/drivers.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
#include <gint/std/stdlib.h>
|
|
||||||
#include <gint/hardware.h>
|
#include <gint/hardware.h>
|
||||||
#include <gint/mmu.h>
|
#include <gint/mmu.h>
|
||||||
#include <gint/mpu/intc.h>
|
#include <gint/mpu/intc.h>
|
||||||
#include <gint/kmalloc.h>
|
#include <gint/kmalloc.h>
|
||||||
#include <gint/cpu.h>
|
#include <gint/cpu.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
#include "vbr.h"
|
#include "vbr.h"
|
||||||
#include "kernel.h"
|
#include "kernel.h"
|
||||||
|
|
||||||
|
|
|
@ -1,6 +1,7 @@
|
||||||
#include <gint/gint.h>
|
#include <gint/gint.h>
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
int __Timer_Install(int id, void (*handler)(void), int delay);
|
int __Timer_Install(int id, void (*handler)(void), int delay);
|
||||||
int __Timer_Start(int id);
|
int __Timer_Start(int id);
|
||||||
|
|
|
@ -2,7 +2,8 @@
|
||||||
#include <gint/cpu.h>
|
#include <gint/cpu.h>
|
||||||
#include <gint/gint.h>
|
#include <gint/gint.h>
|
||||||
#include <gint/defs/call.h>
|
#include <gint/defs/call.h>
|
||||||
#include <gint/std/stdlib.h>
|
|
||||||
|
#include <stdlib.h>
|
||||||
|
|
||||||
//---
|
//---
|
||||||
// World buffer
|
// World buffer
|
||||||
|
|
|
@ -6,7 +6,8 @@
|
||||||
#include <gint/drivers/keydev.h>
|
#include <gint/drivers/keydev.h>
|
||||||
#include <gint/defs/types.h>
|
#include <gint/defs/types.h>
|
||||||
#include <gint/defs/util.h>
|
#include <gint/defs/util.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
|
||||||
void keydev_init(keydev_t *d)
|
void keydev_init(keydev_t *d)
|
||||||
|
|
|
@ -3,10 +3,11 @@
|
||||||
//---
|
//---
|
||||||
|
|
||||||
#include <gint/kmalloc.h>
|
#include <gint/kmalloc.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
#include <gint/defs/attributes.h>
|
#include <gint/defs/attributes.h>
|
||||||
#include <gint/defs/util.h>
|
#include <gint/defs/util.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* block_t: A memory block managed by the heap.
|
/* block_t: A memory block managed by the heap.
|
||||||
|
|
||||||
The heap is a sequence of blocks made of a block_t header (4 bytes) and raw
|
The heap is a sequence of blocks made of a block_t header (4 bytes) and raw
|
||||||
|
|
|
@ -4,9 +4,10 @@
|
||||||
|
|
||||||
#include <gint/kmalloc.h>
|
#include <gint/kmalloc.h>
|
||||||
#include <gint/defs/util.h>
|
#include <gint/defs/util.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
#include <gint/config.h>
|
#include <gint/config.h>
|
||||||
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* Maximum number of arenas */
|
/* Maximum number of arenas */
|
||||||
#define KMALLOC_ARENA_MAX 8
|
#define KMALLOC_ARENA_MAX 8
|
||||||
|
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#include <gint/defs/types.h>
|
#include <gint/defs/types.h>
|
||||||
#include <gint/defs/attributes.h>
|
#include <gint/defs/attributes.h>
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "../render/render.h"
|
#include "../render/render.h"
|
||||||
#include "topti-asm.h"
|
#include "topti-asm.h"
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
#include <gint/std/stdio.h>
|
#include <stdio.h>
|
||||||
|
|
||||||
/* dprint(): Display a formatted string */
|
/* dprint(): Display a formatted string */
|
||||||
void dprint_opt(int x, int y, int fg, int bg, int halign, int valign,
|
void dprint_opt(int x, int y, int fg, int bg, int halign, int valign,
|
||||||
|
|
|
@ -1,7 +1,8 @@
|
||||||
#include <gint/usb.h>
|
#include <gint/usb.h>
|
||||||
#include <gint/usb-ff-bulk.h>
|
#include <gint/usb-ff-bulk.h>
|
||||||
#include <gint/display.h>
|
#include <gint/display.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
static usb_dc_interface_t dc_interface = {
|
static usb_dc_interface_t dc_interface = {
|
||||||
.bLength = sizeof(usb_dc_interface_t),
|
.bLength = sizeof(usb_dc_interface_t),
|
||||||
|
|
|
@ -3,7 +3,9 @@
|
||||||
#include <gint/clock.h>
|
#include <gint/clock.h>
|
||||||
#include <gint/dma.h>
|
#include <gint/dma.h>
|
||||||
#include <gint/defs/util.h>
|
#include <gint/defs/util.h>
|
||||||
#include <gint/std/string.h>
|
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
#include "usb_private.h"
|
#include "usb_private.h"
|
||||||
|
|
||||||
#define USB SH7305_USB
|
#define USB SH7305_USB
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
#include <gint/usb.h>
|
#include <gint/usb.h>
|
||||||
#include <gint/mpu/usb.h>
|
#include <gint/mpu/usb.h>
|
||||||
#include <gint/std/endian.h>
|
|
||||||
#include "usb_private.h"
|
|
||||||
#include <stdarg.h>
|
#include <stdarg.h>
|
||||||
|
#include <endian.h>
|
||||||
|
|
||||||
|
#include "usb_private.h"
|
||||||
|
|
||||||
#define USB SH7305_USB
|
#define USB SH7305_USB
|
||||||
|
|
||||||
|
|
|
@ -3,8 +3,9 @@
|
||||||
//---
|
//---
|
||||||
|
|
||||||
#include <gint/usb.h>
|
#include <gint/usb.h>
|
||||||
#include <gint/std/stdlib.h>
|
|
||||||
#include <gint/std/string.h>
|
#include <stdlib.h>
|
||||||
|
#include <string.h>
|
||||||
|
|
||||||
/* String descriptor array */
|
/* String descriptor array */
|
||||||
static usb_dc_string_t **array = NULL;
|
static usb_dc_string_t **array = NULL;
|
||||||
|
|
Loading…
Reference in a new issue