replace gint/std headers with standard ones

This commit is contained in:
Lephe 2021-06-08 11:01:13 +02:00
parent 20b7238057
commit 8e730c2f78
No known key found for this signature in database
GPG key ID: 1BBA026E13FC0495
15 changed files with 34 additions and 19 deletions

View file

@ -3,13 +3,13 @@
//---
#include <gint/defs/types.h>
#include <gint/std/stdlib.h>
#include <gint/drivers/t6k11.h>
#include <gint/gray.h>
#include <gint/display.h>
#include <gint/timer.h>
#include <stdlib.h>
#include "../render-fx/render-fx.h"
/* Three additional video RAMS, allocated statically if --static-gray was set

View file

@ -5,7 +5,8 @@
#include <gint/hardware.h>
#include <gint/cpu.h>
#include <gint/mpu/intc.h>
#include <gint/std/string.h>
#include <string.h>
//---
// Interrupt controllers

View file

@ -8,7 +8,8 @@
#include <gint/defs/types.h>
#include <gint/defs/util.h>
#include <gint/mpu/pfc.h>
#include <gint/std/string.h>
#include <string.h>
/* Holds information about the current platform */
GBSS uint32_t gint[HW_KEYS];

View file

@ -4,14 +4,15 @@
#include <gint/gint.h>
#include <gint/drivers.h>
#include <gint/std/string.h>
#include <gint/std/stdlib.h>
#include <gint/hardware.h>
#include <gint/mmu.h>
#include <gint/mpu/intc.h>
#include <gint/kmalloc.h>
#include <gint/cpu.h>
#include <string.h>
#include <stdlib.h>
#include "vbr.h"
#include "kernel.h"

View file

@ -1,6 +1,7 @@
#include <gint/gint.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_Start(int id);

View file

@ -2,7 +2,8 @@
#include <gint/cpu.h>
#include <gint/gint.h>
#include <gint/defs/call.h>
#include <gint/std/stdlib.h>
#include <stdlib.h>
//---
// World buffer

View file

@ -6,7 +6,8 @@
#include <gint/drivers/keydev.h>
#include <gint/defs/types.h>
#include <gint/defs/util.h>
#include <gint/std/string.h>
#include <string.h>
#include <stdarg.h>
void keydev_init(keydev_t *d)

View file

@ -3,10 +3,11 @@
//---
#include <gint/kmalloc.h>
#include <gint/std/string.h>
#include <gint/defs/attributes.h>
#include <gint/defs/util.h>
#include <string.h>
/* 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

View file

@ -4,9 +4,10 @@
#include <gint/kmalloc.h>
#include <gint/defs/util.h>
#include <gint/std/string.h>
#include <gint/config.h>
#include <string.h>
/* Maximum number of arenas */
#define KMALLOC_ARENA_MAX 8

View file

@ -1,7 +1,8 @@
#include <gint/defs/types.h>
#include <gint/defs/attributes.h>
#include <gint/display.h>
#include <gint/std/string.h>
#include <string.h>
#include "../render/render.h"
#include "topti-asm.h"

View file

@ -1,5 +1,5 @@
#include <gint/display.h>
#include <gint/std/stdio.h>
#include <stdio.h>
/* dprint(): Display a formatted string */
void dprint_opt(int x, int y, int fg, int bg, int halign, int valign,

View file

@ -1,7 +1,8 @@
#include <gint/usb.h>
#include <gint/usb-ff-bulk.h>
#include <gint/display.h>
#include <gint/std/string.h>
#include <string.h>
static usb_dc_interface_t dc_interface = {
.bLength = sizeof(usb_dc_interface_t),

View file

@ -3,7 +3,9 @@
#include <gint/clock.h>
#include <gint/dma.h>
#include <gint/defs/util.h>
#include <gint/std/string.h>
#include <string.h>
#include "usb_private.h"
#define USB SH7305_USB

View file

@ -1,8 +1,10 @@
#include <gint/usb.h>
#include <gint/mpu/usb.h>
#include <gint/std/endian.h>
#include "usb_private.h"
#include <stdarg.h>
#include <endian.h>
#include "usb_private.h"
#define USB SH7305_USB

View file

@ -3,8 +3,9 @@
//---
#include <gint/usb.h>
#include <gint/std/stdlib.h>
#include <gint/std/string.h>
#include <stdlib.h>
#include <string.h>
/* String descriptor array */
static usb_dc_string_t **array = NULL;