/freebsd/stand/i386/loader/ |
H A D | chain.c | 63 vm_offset_t mem = 0x100000; in command_chain() 86 vctx = vectx_open(fd, argv[1], 0L, NULL, &verror, __func__); in command_chain() 95 if (verify_file(fd, argv[1], 0, VE_MUST, __func__) < 0) { in command_chain() 110 } else if (strncmp(argv[1], "disk", 4) != 0) { in command_chain() 142 relocater_data[0].src = mem; in command_chain() 143 relocater_data[0].dest = 0x7C00; in command_chain() 144 relocater_data[0].size = size; in command_chain() 148 relocator_ds = 0; in command_chain() 149 relocator_es = 0; in command_chain() 150 relocator_fs = 0; in command_chain() [all …]
|
/freebsd/sys/dev/syscons/ |
H A D | scvgarndr.c | 54 #define SC_RENDER_DEBUG 0 108 RENDERER(mda, 0, txtrndrsw, vga_set); 109 RENDERER(cga, 0, txtrndrsw, vga_set); 110 RENDERER(ega, 0, txtrndrsw, vga_set); 111 RENDERER(vga, 0, txtrndrsw, vga_set); 161 0xC000, 0xA000, 0x9000, 0x8800, 0x8400, 0x8200, 0x8100, 0x8200, 162 0x8400, 0x8400, 0x8400, 0x9200, 0xB200, 0xA900, 0xC900, 0x8600, }, { 163 0x0000, 0x4000, 0x6000, 0x7000, 0x7800, 0x7C00, 0x7E00, 0x7C00, 164 0x7800, 0x7800, 0x7800, 0x6C00, 0x4C00, 0x4600, 0x0600, 0x0000, }, 169 0xC000, 0xA000, 0x9000, 0x8800, 0x8400, 0x8200, 0x8100, 0x8700, [all …]
|
/freebsd/stand/i386/boot0/ |
H A D | Makefile | 20 # 0x0f all valid partitions enabled. 21 # 0x80 'packet', use BIOS EDD (LBA) extensions instead of CHS 24 # 0x40 'noupdate', disable writing boot0 back to disk so that 26 # 0x20 'setdrv', override the drive number supplied by the bios 30 BOOT_BOOT0_FLAGS?= 0x8f 34 # 0xb6 (182d) corresponds to 10 seconds. 35 BOOT_BOOT0_TICKS?= 0xb6 37 # The BIOS loads boot0 to the hardcoded address 0x7c00. boot0 copies 39 # that next level boot blocks can be loaded at the 0x7c00 address they 41 ORG= 0x600 [all …]
|
H A D | boot0.S | 26 #define B0_BASE 0x1ae /* move the internal data area */ 29 #define B0_BASE 0x1b2 49 * bootloader) at 0:0x7c00. This code depends on %cs:%ip being 0:0x7c00 54 * The area at offset 0x1b2 contains a magic string ('Drive '), also 62 * As in every Master Boot Record, the partition table is at 0x1be, 66 * 0 1 status (0x80: bootable, 0: non bootable) 68 * 8:head, 6:sector, 2:cyl bit 9..8, 8:cyl bit 7..0 74 * and followed by the two bytes 0x55, 0xAA (MBR signature). 83 * %cs:%ip 0:0x7c00 84 * %dl drive number (0x80, 0x81, ... ) [all …]
|
/freebsd/stand/i386/cdboot/ |
H A D | Makefile | 10 ORG= 0x7c00
|
H A D | cdboot.S | 42 .set MEM_PAGE_SIZE,0x1000 # memory page size, 4k 43 .set MEM_ARG,0x900 # Arguments at start 44 .set MEM_ARG_BTX,0xa100 # Where we move them to so the 46 .set MEM_ARG_SIZE,0x18 # Size of the arguments 47 .set MEM_BTX_ADDRESS,0x9000 # where BTX lives 48 .set MEM_BTX_ENTRY,0x9010 # where BTX starts to execute 50 .set MEM_BTX_CLIENT,0xa000 # where BTX clients live 54 .set AOUT_TEXT,0x04 # text segment size 55 .set AOUT_DATA,0x08 # data segment size 56 .set AOUT_BSS,0x0c # zero'd BSS size [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/arm/amlogic/ |
H A D | assist.txt | 16 reg = <0x7c00 0x200>;
|
/freebsd/stand/i386/pxeldr/ |
H A D | Makefile | 12 ORG= 0x7c00 53 echo "$$x bytes available"; test $$x -ge 0
|
H A D | pxeldr.S | 42 .set MEM_PAGE_SIZE,0x1000 # memory page size, 4k 43 .set MEM_ARG,0x900 # Arguments at start 44 .set MEM_ARG_BTX,0xa100 # Where we move them to so the 46 .set MEM_ARG_SIZE,0x18 # Size of the arguments 47 .set MEM_BTX_ADDRESS,0x9000 # where BTX lives 48 .set MEM_BTX_ENTRY,0x9010 # where BTX starts to execute 50 .set MEM_BTX_CLIENT,0xa000 # where BTX clients live 51 .set MEM_BIOS_KEYBOARD,0x496 # BDA byte with keyboard bit 55 .set AOUT_TEXT,0x04 # text segment size 56 .set AOUT_DATA,0x08 # data segment size [all …]
|
/freebsd/stand/i386/pmbr/ |
H A D | pmbr.S | 36 .set LOAD,0x7c00 # Load address 37 .set EXEC,0x600 # Execution address 38 .set MAGIC,0xaa55 # Magic: bootable 39 .set SECSIZE,0x200 # Size of a single disk sector 43 .set GPT_SIG,0 44 .set GPT_SIG_0,0x20494645 # "EFI " 45 .set GPT_SIG_1,0x54524150 # "PART" 51 .set PART_TYPE,0 55 .set DPBUF_SEC,0x10 # Number of sectors 57 .set NHRDRV,0x475 # Number of hard drives [all …]
|
/freebsd/stand/i386/gptboot/ |
H A D | Makefile | 8 BOOT_COMCONSOLE_PORT?= 0x3f8 10 B2SIOFMT?= 0x3 12 REL1= 0x700 13 ORG1= 0x7c00 14 ORG2= 0x0
|
H A D | gptldr.S | 34 .set MEM_REL,0x700 # Relocation address 35 .set MEM_ARG,0x900 # Arguments 36 .set MEM_ORG,0x7c00 # Origin 37 .set MEM_BUF,0x8cec # Load area 38 .set MEM_BTX,0x9000 # BTX start 39 .set MEM_JMP,0x9010 # BTX entry point 40 .set MEM_USR,0xa000 # Client start 41 .set BDA_BOOT,0x472 # Boot howto flag 44 .set SIZ_PAG,0x1000 # Page size 45 .set SIZ_SEC,0x200 # Sector size [all …]
|
/freebsd/stand/i386/isoboot/ |
H A D | Makefile | 9 BOOT_COMCONSOLE_PORT?= 0x3f8 11 B2SIOFMT?= 0x3 13 REL1= 0x700 14 ORG1= 0x7c00 15 ORG2= 0x0 43 echo "$$x bytes available"; test $$x -ge 0
|
/freebsd/stand/i386/gptzfsboot/ |
H A D | Makefile | 10 BOOT_COMCONSOLE_PORT?= 0x3f8 12 B2SIOFMT?= 0x3 14 REL1= 0x700 15 ORG1= 0x7c00 16 ORG2= 0x0
|
/freebsd/stand/i386/boot2/ |
H A D | Makefile | 5 # A value of 0x80 enables LBA support. 6 BOOT_BOOT1_FLAGS?= 0x80 8 BOOT_COMCONSOLE_PORT?= 0x3f8 10 B2SIOFMT?= 0x3 12 REL1= 0x700 13 ORG1= 0x7c00 14 ORG2= 0x2000 62 echo "$$x bytes available"; test $$x -ge 0 86 ${NM} -t d ${.ALLSRC} | awk '/([0-9])+ T xread/ \
|
H A D | boot1.S | 17 .set MEM_REL,0x700 # Relocation address 18 .set MEM_ARG,0x900 # Arguments 19 .set MEM_ORG,0x7c00 # Origin 20 .set MEM_BUF,0x8c00 # Load area 21 .set MEM_BTX,0x9000 # BTX start 22 .set MEM_JMP,0x9010 # BTX entry point 23 .set MEM_USR,0xa000 # Client start 24 .set BDA_BOOT,0x472 # Boot howto flag 27 .set PRT_OFF,0x1be # Partition offset 28 .set PRT_NUM,0x4 # Partitions [all …]
|
/freebsd/stand/i386/zfsboot/ |
H A D | Makefile | 8 BOOT_COMCONSOLE_PORT?= 0x3f8 10 B2SIOFMT?= 0x3 12 REL1= 0x700 13 ORG1= 0x7c00 14 ORG2= 0x2000 74 echo "$$x bytes available"; test $$x -ge 0
|
H A D | zfsldr.S | 17 .set MEM_ARG,0x900 # Arguments 18 .set MEM_ORG,0x7c00 # Origin 19 .set MEM_BUF,0x8000 # Load area 20 .set MEM_BTX,0x9000 # BTX start 21 .set MEM_JMP,0x9010 # BTX entry point 22 .set MEM_USR,0xa000 # Client start 23 .set BDA_BOOT,0x472 # Boot howto flag 26 .set PRT_OFF,0x1be # Partition offset 27 .set PRT_NUM,0x4 # Partitions 28 .set PRT_BSD,0xa5 # Partition type [all …]
|
/freebsd/stand/i386/mbr/ |
H A D | mbr.S | 18 .set LOAD,0x7c00 # Load address 19 .set EXEC,0x600 # Execution address 20 .set PT_OFF,0x1be # Partition table 21 .set MAGIC,0xaa55 # Magic: bootable 22 .set FL_PACKET,0x80 # Flag: try EDD 24 .set NHRDRV,0x475 # Number of hard drives 44 movw $0x200-(main-start),%cx # Byte count 59 movb $0x4,%cl # Number of entries 62 jg err_pt # If 0x1..0x7f 66 main.2: addb $0x10,%bl # Till [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/misc/ |
H A D | fsl,qoriq-mc.txt | 47 Registers BRR1 and BRR2 at offset 0x0BF8 and 0x0BFC in 71 0x0 - MC portals 72 0x1 - QBMAN portals 99 have a value of 0. 154 stream-match-mask = <0x7C00>; 170 reg = <0x00000008 0x0c000000 0 0x40>, /* MC portal base */ 171 <0x00000000 0x08340000 0 0x40000>; /* MC control reg */ 180 * Region type 0x0 - MC portals 181 * Region type 0x1 - QBMAN portals 183 ranges = <0x0 0x0 0x0 0x8 0x0c000000 0x4000000 [all …]
|
/freebsd/sys/contrib/dev/athk/ath10k/ |
H A D | bmi.h | 60 BMI_NO_COMMAND = 0, 83 #define BMI_PARAM_GET_EEPROM_BOARD_ID 0x10 84 #define BMI_PARAM_GET_FLASH_BOARD_ID 0x8000 85 #define BMI_PARAM_FLASH_SECTION_ALL 0x10000 88 #define BMI_PARAM_GET_EXT_BOARD_ID 0x40000 89 #define ATH10K_BMI_EXT_BOARD_ID_SUPPORT 0x40000 91 #define ATH10K_BMI_BOARD_ID_FROM_OTP_MASK 0x7c00 94 #define ATH10K_BMI_CHIP_ID_FROM_OTP_MASK 0x18000 97 #define ATH10K_BMI_BOARD_ID_STATUS_MASK 0xff 98 #define ATH10K_BMI_EBOARD_ID_STATUS_MASK 0xff [all …]
|
/freebsd/sys/contrib/device-tree/src/arm/amlogic/ |
H A D | meson.dtsi | 28 reg = <0xc1100000 0x200000>; 31 ranges = <0x0 0xc1100000 0x200000>; 37 reg = <0x4000 0x400>; 44 reg = <0x5400 0x2ac>; 53 reg = <0x7c00 0x200>; 58 reg = <0x8100 0x8>; 63 reg = <0x84c0 0x18>; 71 reg = <0x84dc 0x18>; 78 reg = <0x8500 0x20>; 81 #size-cells = <0>; [all …]
|
/freebsd/sys/dev/axgbe/ |
H A D | xgbe-phy-v2.c | 120 #define XGBE_PHY_PORT_SPEED_100 BIT(0) 125 #define XGBE_MUTEX_RELEASE 0x80000000 131 #define XGBE_SFP_SERIAL_ID_ADDRESS 0x50 132 #define XGBE_SFP_DIAG_INFO_ADDRESS 0x51 133 #define XGBE_SFP_PHY_ADDRESS 0x56 134 #define XGBE_GPIO_ADDRESS_PCA9555 0x20 137 #define XGBE_GPIO_NO_TX_FAULT BIT(0) 157 XGBE_PORT_MODE_RSVD = 0, 170 XGBE_CONN_TYPE_NONE = 0, 180 XGBE_SFP_COMM_DIRECT = 0, [all …]
|
/freebsd/sys/contrib/device-tree/Bindings/iommu/ |
H A D | arm,smmu.yaml | 23 pattern: "^iommu@[0-9a-f]*" 161 minimum: 0 579 reg = <0xba5e0000 0x10000>; 581 interrupts = <0 32 4>, 582 <0 33 4>, 583 <0 34 4>, /* This is the first context interrupt */ 584 <0 35 4>, 585 <0 36 4>, 586 <0 3 [all...] |
/freebsd/sys/dev/mii/ |
H A D | brgphyreg.h | 42 #define BRGPHY_MII_BMCR 0x00 43 #define BRGPHY_BMCR_RESET 0x8000 44 #define BRGPHY_BMCR_LOOP 0x4000 45 #define BRGPHY_BMCR_SPD0 0x2000 /* Speed select, lower bit */ 46 #define BRGPHY_BMCR_AUTOEN 0x1000 /* Autoneg enabled */ 47 #define BRGPHY_BMCR_PDOWN 0x0800 /* Power down */ 48 #define BRGPHY_BMCR_ISO 0x0400 /* Isolate */ 49 #define BRGPHY_BMCR_STARTNEG 0x0200 /* Restart autoneg */ 50 #define BRGPHY_BMCR_FDX 0x0100 /* Duplex mode */ 51 #define BRGPHY_BMCR_CTEST 0x0080 /* Collision test enable */ [all …]
|